From 51abd103f758ac17aca88b63259617c93e7d0827 Mon Sep 17 00:00:00 2001 From: kevlarcade Date: Thu, 16 Mar 2017 16:07:14 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20de=20\n=20dans=20l=E2=80=99ent=C3=AAte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kevlarcade --- mail/contact_me.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/contact_me.php b/mail/contact_me.php index 87c614d..f853ae2 100644 --- a/mail/contact_me.php +++ b/mail/contact_me.php @@ -19,9 +19,9 @@ $to = 'contact@labolyon.fr'; $email_subject = "[Site] Contact de : $name"; $email_body = "Vous avez recu un message depuis le formulaire du site.\n\n"."Voici les details :\n\nNom : $name\n\nEmail : $email_address\n\nTelephone : $phone\n\nMessage :\n$message"; $headers = "From: noreply@labolyon.fr\n"; -$headers .= "Reply-To: $email_address"; -$headers .= "Date: ".date("r"); -$headers .= "Content-Type: text/html; charset=UTF-8"; +$headers .= "Reply-To: $email_address\n"; +$headers .= "Date: ".date("r")."\n"; +$headers .= "Content-Type: text/html; charset=UTF-8"; mail($to,$email_subject,$email_body,$headers); return true; ?>