This commit is contained in:
parent
970b236363
commit
2d4de36df0
@ -16,7 +16,16 @@ if (isset ($_POST['send']))
|
|||||||
echo 'La question est : ' . $question . "<br/>";
|
echo 'La question est : ' . $question . "<br/>";
|
||||||
echo 'La réponse est : ' . $answer;
|
echo 'La réponse est : ' . $answer;
|
||||||
|
|
||||||
mail('bertrand.cournaud@gmail.com', 'Nemubot', 'Ceci est un test');
|
$to = "bertrand.cournaud@gmail.com";
|
||||||
|
$subject = "Nemubot";
|
||||||
|
$message = "Ceci est un test";
|
||||||
|
|
||||||
|
if (mail($to, $subject, $message))
|
||||||
|
{
|
||||||
|
echo ("Email sent");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
echo ("Error with the email");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user