Eamil
This commit is contained in:
parent
2d4de36df0
commit
6ba639e01d
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue