<?PHP |
$nom = $_POST['nom'] ; |
$prenom = $_POST['prenom'] ; |
$mail = $_POST['mail'] ; |
$corps = $_POST['corps'] ; |
$adr_mail = "Votre Email" ; |
$titre = "Contact Mon SITE"; |
$tete = "From: $adr_mail \n"; |
$tete .= "Content-Type: text/html;"; |
$nom = $_POST['nom'] ; |
$prenom = $_POST['prenom'] ; |
$mail = $_POST['mail'] ; |
$corps = $_POST['corps'] ; |
$embody = "<BR><BR><b>Contact Votre Site<BR><BR></b>nom : $nom <BR>prenom : $prenom <BR>mail : $mail <BR><BR>$corps"; |
$ok = mail($adr_mail, $titre, stripslashes($embody), $tete); |
echo"<BR><BR><BR><BR><BR><BR>"; |
############## Le message apres envoil de l'Email ####################### |
echo"<TAble border=\"0\" align=\"center\">"; |
echo"<TR><TD align=\"center\">Votre demande sera traitée dans les plus brefs délais</TD</TR>"; |
echo"<TR><TD align=\"center\">Une réponse par Email vous sera envoyer</TD</TR>"; |
echo"</TABLE>"; |
######################################################################### |
?> |