note 38728 added to function.mail
| From: | monty3 at hotmail dot com | Date: | Mon, 05 Jan 2004 01:03:03 +0000 |
| Subject: | note 38728 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62919@lists.php.net to get a copy of this message | ||
Since I upgraded our server to RedHat Linux ES 3.0 using Apache 2.0.46, PHP 4.3.2, MySQL 3.23.58,
and Sendmail 8.12.10, I've been unable to use the PHP MAIL() command because I get a "Data
Format Error" when trying to send e-mail now. It seems that it's a common problem, but, I
can't find a solution or fix. I've tried a few PHP mail classes, but, have the exact same
problem. Below is what appears in my system logs when PHP attempts to send e-mail. Does anyone know
why this is happening and exactly how to fix it?
-----------
sendmail[4920]: i050MrEq004920: from=apache, size=141, class=0, nrcpts=1,
msgid=<200401050022.i050MrEq004920@server1.myserver.com>, relay=apache@localhost
sendmail[4920]: i050MrEq004920: to=me@myserver.com, ctladdr=apache (48/48), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30141, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format
error
sendmail[4920]: i050MrEq004920: i050MrEr004920: DSN: Data format error
sendmail[4922]: i050Mr1J004922: <apache@server1.myserver.com>... >apache<@myserver.com.
sendmail[4920]: i050MrEr004920: to=apache, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31165,
relay=[127.0.0.1], dsn=5.3.0, stat=User unknown
sendmail[4922]: i050Mr1J004922: from=<>, size=1165, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=localhost [127.0.0.1]
sendmail[4920]: i050MrEr004920: i050MrEs004920: return to sender: User unknown
sendmail[4922]: i050Mr1L004922: <postmaster@server1.myserver.com>...
>postmaster<@myserver.com.
sendmail[4920]: i050MrEs004920: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=32189, relay=[127.0.0.1] [127.0.0.1], dsn=5.3.0, stat=User unknown
sendmail[4922]: i050Mr1L004922: from=<>, size=2189, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=localhost [127.0.0.1]
sendmail[4920]: i050MrEr004920: Losing ./qfi050MrEr004920: savemail panic
sendmail[4920]: i050MrEr004920: SYSERR(apache): savemail: cannot save rejected email anywhere
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38728
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38728&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38728&report=yes
Search -- http://master.php.net/manage/user-notes.php