Files
Scripts_Raspberry/Send mail/mailtest.php
2019-02-04 10:14:50 +01:00

9 lines
216 B
PHP

<?php
$to = "bruno@clicclac.info";
$subject = "PHP Test mail";
$message = "This is a test email";
$from = "bp6412615@gmail.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>