Re: Alternate way of e-mailing in PHP
| From: | David Otton | Date: | Mon, 05 Jan 2004 16:36:09 +0000 |
| Subject: | Re: Alternate way of e-mailing in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173764@lists.php.net to get a copy of this message | ||
On Mon, 05 Jan 2004 01:38:09 -0500, you wrote:
>I've been getting "data format errors" from Sendmail when trying to send
>automatic e-mails from my websites recently, and as I can't find a fix for
Quick questions: what does sendmail_path in php.ini look like?
Where is the "data format error" message being created? My /guess/ is that
your local copy of sendmail is using the wrong FQDN and so your email is
being rejected by the next machine in the chain. Have you changed anything
in /etc/hosts or your DNS recently?
But in that case... the code you show below probably wouldn't work either.
Odd. Maybe you could ask the guys in comp.mail.sendmail...