האתר שלי מקודד ב UTF-8 ואני מעונין לשלוח מייל בעברית דרכו, האיזור שליחה:
PHP קוד:
$newLine = "\n\r";
$headers = "MIME-Version: 1.0" . $newLine;
$headers .= "Content-Type: text/html; charset=utf-8" . $newLine;
$headers .= "content-language: he" . $newLine;
$headers .= "To: just@test.com <just@test.com>" . $newLine;
$headers .= "From: $email <$email>" . $newLine;
$body .= "שם פרטי:$firstname" . $newLine;
mail("just@test.com", "$subject", $body, $headers);
והקידוד העליון:
PHP קוד:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8/>
1. אני לא מצליח לגרום לזה לרדת שורה
2. הדף שמור על UTF-8 ועדיין לא מצליח לקבל הודעות בעברית
3. כיצד ניתן להגיד שרת STMP?
תודה לעוזרים