From 6ba639e01d727ef4a37372dd73a1428e90cffe3c Mon Sep 17 00:00:00 2001 From: Bertrand Cournaud Date: Mon, 21 May 2012 17:33:12 +0200 Subject: [PATCH] Eamil --- questions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/questions.php b/questions.php index 15ae8ce..f20b615 100755 --- a/questions.php +++ b/questions.php @@ -19,8 +19,9 @@ if (isset ($_POST['send'])) $to = "bertrand.cournaud@gmail.com"; $subject = "Nemubot"; $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"); }