Help !! Mail Function Problem (Newbie)
| From: | Simos Varelakis | Date: | Wed, 16 Jan 2002 18:07:15 +0000 |
| Subject: | Help !! Mail Function Problem (Newbie) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80774@lists.php.net to get a copy of this message | ||
Hello to everyone
My problem is that Mail function sends no e-mail
the code is
mail(simos@foo.com, "Subject", "Line 1\nLine 2\nLine 3");
this is my /var/spool/mail/info log file
thewall sendmail[4513]: g0H10I604513: from=apache, size=0, class=0,
nrcpts=0, relay=apache@localhost
this is the /etc/php.ini file
[mail function]
;SMTP = localhost ;for win32
only
;sendmail_from = root@localhost ;for win32 only
sendmail_path =/usr/sbin/sendmail -t
Any Ideas ??
Thanks in advance
Simos