note 28543 added to ref.mail
| From: | m dot toci at amnesty dot it | Date: | Thu, 16 Jan 2003 14:59:20 +0000 |
| Subject: | note 28543 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42217@lists.php.net to get a copy of this message | ||
Problems sending mail to some ISP.
("Format data error" in Sendmail log)
I had problems sending mails to some user using mail() function. When i tried to send mail to users
of some isp (as katamail.it), mails were not delivered, and i had a "format data error" in
the sendmail log.
I solved the problem changing the sendmail_path in php.ini to:
sendmail_path= /usr/sbin/sendmail -t -i -f email@myserver.com
where "email@myserver.com" is a valid e-mail addres on the local server.
hope it helps...
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+28543
http://master.php.net/manage/user-notes.php?action=delete+28543
http://master.php.net/manage/user-notes.php?action=reject+28543