comment récupérer données formulaire par mail
mon code php est celui ci mais ce dernier ne fonctionne pas.
<?php
$sender_name = $_POST['sender_name'];
$sender_email = $_post['sender_email'];
$message = $_post['message'];
$to = "monsite@monsite.fr";
$subject = "from monsite.fr";
$mailheaders = "From: My Web Site <>
";
$mailheaders .= "Reply-To: $sender_email
";
mail($to, $sender_name, $sender_email, $message, $subject, $mailheaders)
echo "<HTML><HEAD>";
echo "<TITLE>Form Sent!</TITLE></HEAD><BODY>";
echo "<H1 align=center>thank you, $sender_name</H1>";
echo "<P align=center>";
echo "your email have been sent.</P>";
echo "</BODY></HTML>";
?>