RE: [PHP] Help !! Mail Function Problem (Newbie)
| From: | Rick Emery | Date: | Wed, 16 Jan 2002 18:32:00 +0000 |
| Subject: | RE: [PHP] Help !! Mail Function Problem (Newbie) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80780@lists.php.net to get a copy of this message | ||
Put quotes around the TO address:
mail("simos@foo.com", "Subject", "Line 1\nLine 2\nLine 3");
-----Original Message-----
From: Simos Varelakis [mailto:simos@athenatours.gr]
Sent: Wednesday, January 16, 2002 12:07 PM
To: php-general@lists.php.net
Subject: [PHP] Help !! Mail Function Problem (Newbie)
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net