1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| $subject = "Sainté-Covoit' : ton annonce intéresse quelqu'un !";
$message = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\">
<head>
<title>reponse</title>
<meta http-equiv=\"Content-Type\" content=\"text/HTML; charset=utf-8\" />
</head>
<body>";
$message .= "bla bla &éé(§è!çà)";
$message.="</body></html>";
$headers = "From: ".$_SESSION['membre']['email']." \r\n";
$headers.= "Content-Type: text/html; charset=utf-8 ";
$headers .= "MIME-Version: 1.0 ";
mail($to, $subject, $message, $headers); |
Partager