àjout du support utf8

Signed-off-by: kevlarcade <kevlarcade@gmail.com>
This commit is contained in:
kevlarcade 2017-03-16 15:48:10 +01:00
parent b5b02fa627
commit 169c4d9b24

View File

@ -21,6 +21,6 @@ $email_body = "Vous avez recu un message depuis le formulaire du site.\n\n"."Voi
$headers = "From: noreply@labolyon.fr\n";
$headers .= "Reply-To: $email_address";
$headers .= "Date: ".date("r");
mail($to,$email_subject,$email_body,$headers);
mail($to,utf8_encode($email_subject),utf8_encode($email_body),$headers);
return true;
?>