RE: PHP 4.0 Bug #6710 Updated: Could not execute mail delivery program
| From: | Chris Newbill | Date: | Tue, 31 Oct 2000 01:12:29 +0000 |
| Subject: | RE: PHP 4.0 Bug #6710 Updated: Could not execute mail delivery program | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36507@lists.php.net to get a copy of this message | ||
I used sleep() of up to a full second and it did not help before upping the
amount of file descriptors. The whole point of using this to send out the
emails versus the original method was speed plain and simple. So using a
sleep() just defeats the whole purpose. When you are sending out 16,000+
emails, 16,000 seconds = 4.4 hours of time spent waiting for this web page
to load while it does nothing. Try explaining this to a CEO who doesn't
even know what print "Hello, world!" does, it's not fun =).
Thanks,
Chris Newbill
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: Monday, October 30, 2000 5:50 PM
To: cnewbill@onewest.net
Subject: PHP 4.0 Bug #6710 Updated: Could not execute mail delivery
program
ID: 6710
Updated by: sniper
Reported By: cnewbill@onewest.net
Status: Closed
Bug Type: *Mail Related
Assigned To:
Comments:
Please use sleep() between mail()'s.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-30 10:16:43] cnewbill@onewest.net
Nope that would have been too easy.
I have been swamped lately so I have not updated this ticket, I apologize.
The problem is the server was running out of file descriptors. The previous
fd created by sendmail does not seem to close right away and since this
program was moving at a brisk pace all the fds got used.
---------------------------------------------------------------------------
[2000-10-29 00:26:41] sniper@php.net
Check your php.ini file for sendmail_path. And try also
running sendmail in the command line..
--Jani
---------------------------------------------------------------------------
[2000-09-13 06:09:37] cnewbill@onewest.net
I have a script that queries an ODBC source and sends an email to the
addresses it pulls out.
I for the life of me cannot figure out what is causing this error "Could not
execute mail delivery program". I am using the mail() function. The only
pattern I can see is it happens in large chunks with gaps of successful
ones. Any ideas on where to look?
Sending email to (19561) Lynn Chadwick...
ERROR: Could not execute mail delivery program.
Sending email to (19569) Derril Sparks...
ERROR: Could not execute mail delivery program.
Sending email to (19578) JaNell Ure...
ERROR: Could not execute mail delivery program.
Sending email to (19591) Edward Zaladonis...
OK
Sending email to (19595) Eric Bennion...
OK
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6710