אז ככה כשאני מנסה לשלוח אימייל אני מקבל הודעת שגיאה שאומרת ש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 זה עובד חלק ><
תודה מראש