@@ -0,0 +1,615 @@
+%3C?php%0A//define the receiver of the email%0A$to = 'jffrypwll@googlemail.com';%0A//define the subject of the email%0A$subject = 'Test email';%0A//define the message to be sent. Each line should be separated with %5Cn%0A$message = %22Hello World!%5Cn%5CnThis is my first mail.%22;%0A//define the headers we want passed. Note that they are separated with %5Cr%5Cn%0A$headers = %22From: pi@kitchen-pi%5Cr%5CnReply-To: webmaster@example.com%22;%0A//send the email%0A$mail_sent = @mail( $to, $subject, $message, $headers );%0A//if the message is sent successfully print %22Mail sent%22. Otherwise print %22Mail failed%22 %0Aecho $mail_sent ? %22Mail sent%22 : %22Mail failed%22;%0A?%3E%0A

Create email.py