oublie d’un \n

Signed-off-by: kevlarcade <kevlarcade@gmail.com>
This commit is contained in:
kevlarcade 2017-03-16 16:17:34 +01:00
parent 903ab0c544
commit e157bfb3dc

View File

@ -21,7 +21,7 @@ $email_body = "Vous avez recu un message depuis le formulaire du site.\n\n"."Voi
$headers = "From: noreply@labolyon.fr\n"; $headers = "From: noreply@labolyon.fr\n";
$headers .= "Reply-To: $email_address\n"; $headers .= "Reply-To: $email_address\n";
$headers .= "Date: ".date("r")."\n"; $headers .= "Date: ".date("r")."\n";
$headers .= "Content-Type: text/plain; charset=UTF-8"; $headers .= "Content-Type: text/plain; charset=UTF-8\n";
$headers .= "MIME-Version: 1.0\n"; $headers .= "MIME-Version: 1.0\n";
mail($to,$email_subject,$email_body,$headers); mail($to,$email_subject,$email_body,$headers);
return true; return true;