This commit is contained in:
Bertrand Cournaud 2012-05-21 17:33:12 +02:00
parent 2d4de36df0
commit 6ba639e01d

View File

@ -19,8 +19,9 @@ if (isset ($_POST['send']))
$to = "bertrand.cournaud@gmail.com"; $to = "bertrand.cournaud@gmail.com";
$subject = "Nemubot"; $subject = "Nemubot";
$message = "Ceci est un test"; $message = "Ceci est un test";
$headers = "From: bertrand.cournaud@gmail.com";
if (mail($to, $subject, $message)) if (mail($to, $subject, $message, $headers))
{ {
echo ("Email sent"); echo ("Email sent");
} }