יש פרמטר לא חובה לפונקציה MAIL ששולח headers שלך עם ההודעה.
מה זה אומר? אם אתה לא יודע אז לא משנה.
אבל כדאי לשלוח HTML תעשה ככה:
PHP קוד:
<?php
$to = 'aidan@example.com';
$subject = 'äåãòú HTML';
$message = '
<h1>ñúí HTML</h1>
<br />
<br />
<marquee>asddasd</marquee>
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=windows-1255' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>