עשיתי ככה:
PHP קוד:
$subject = "ניסיון";
$message = "<html dir=\"rtl\"><body>
זוהי הודעה אוטומטית, אנא אל תגיב אליה.
</body></html>";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($email, $subject, $message,"מאת: מנהל <aaa@walla.com>\n
$headers
X-Mailer: PHP/" . phpversion());