if (!empty($_POST["envoi"]))
{
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= 'From: '. $_POST['mail'] . "\r\n";
// mail("contact@webatelier.com", "[Webatelier] Formulaire contact", $_POST["nom"]." -
\n".$_POST["mail"]." -
\n".$_POST["message"], $headers);
}
?>