הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   [PHP] בעיה עם שליחת email (https://hosts.co.il/forums/showthread.php?t=49429)

Kfir.G 10-07-07 22:05

[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 זה עובד חלק ><

תודה מראש

Tzvika 10-07-07 22:37

לא מותקנת על המחשב שלך התוכנה
שמאפשרת שליחת מיילים(SMTP-תקנו אותי אם זה לא השם).


כל הזמנים הם GMT +2. הזמן כעת הוא 02:28.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ