View Single Post
ישן 04-07-07, 11:21   # 1
X-T
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Jan 2007
הודעות: 1,021

X-T לא מחובר  

בעיה בשליחת מייל בעברית :\

האתר שלי מקודד ב 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?

תודה לעוזרים
__________________
You don't shine if you don't glow
  Reply With Quote