View Single Post
ישן 10-07-07, 22:05   # 1
Kfir.G
חבר וותיק
 
Kfir.G's Avatar
 
מיני פרופיל
תאריך הצטרפות: Dec 2005
הודעות: 1,059
שלח הודעה באמצעות ICO אל Kfir.G

Kfir.G לא מחובר  

[PHP] בעיה עם שליחת email

אז ככה כשאני מנסה לשלוח אימייל אני מקבל הודעת שגיאה שאומרת שsendmail_from לא מוגדר למרות שכן הגדרתי אותו >< (אני בודק את זה על המחשב הביתי שלי)

הודעת השגיאה:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Program Files\EasyPHP 2.0b1\www\contact.php

הגדרת הפונקציה:
[mail function]
; For Win32 only.
SMTP = gmail.com
smtp_port = 25

; For Win32 only.
sendmail_from = kfir.gollan@gmail.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

כשאני משתמש באותו הקוד בדיוק על שרת באינטרנט שמותקן עליו PHP זה עובד חלק ><

תודה מראש
__________________
פיג'מה
משחקים
  Reply With Quote