From what you posted, it looks like it was successful: stat=Sent (lA9KQHhY008650 Message accepted for delivery)

If it isn't arriving, the cause may be down the line.

John

Alberto García Gómez wrote:
John, those are the lines in the log file when I try to send a mail using mail() function. PLease let me know my errors.

Nov 9 15:26:17 shannon sendmail[8649]: lA9KQHYt008649: from=apache, size=82, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]

Nov 9 15:26:17 shannon sendmail[8650]: lA9KQHhY008650: from=<[EMAIL PROTECTED]>, size=382, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=shannon.ipimtzcm.rimed.cu [127.0.0.1]

Nov 9 15:26:17 shannon sendmail[8649]: lA9KQHYt008649: [EMAIL PROTECTED], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30082, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (lA9KQHhY008650 Message accepted for delivery)

----- Original Message ----- From: "John Gunther" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Friday, November 09, 2007 03:16 PM
Subject: [PHP] Re: Sending Mails


All true. sendmail or a sendmail shell must be running. The sendmail command to use can be customized in the sendmail_path directive in the php.ini configuration file.

If you can't manually use sendmail to send an email, php can't either.

John Gunther

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to