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"); }