àjout du support utf8
Signed-off-by: kevlarcade <kevlarcade@gmail.com>
This commit is contained in:
parent
b5b02fa627
commit
169c4d9b24
@ -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 = "From: noreply@labolyon.fr\n";
|
||||||
$headers .= "Reply-To: $email_address";
|
$headers .= "Reply-To: $email_address";
|
||||||
$headers .= "Date: ".date("r");
|
$headers .= "Date: ".date("r");
|
||||||
mail($to,$email_subject,$email_body,$headers);
|
mail($to,utf8_encode($email_subject),utf8_encode($email_body),$headers);
|
||||||
return true;
|
return true;
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user