Hi, this problem isn't really Windows specific...

I have a client on one of my webservers who is causing me great
headaches. He wrote  php mail function that reads approx 17 000 e-mail
addresses out of a mysql table, and then mails them all a standard
newsletter.
Firstly, the page bombs out ( no wonder really...) but before it does,
it sends out as many mails as it can loop through in the 30s. I have
checked the script, and he does add headers,; reply-to, return-path,
from etc., yet, when the mail he sends starts to bounce, they all end up
in the "root" account mailbox, as sendmail sees at as mail sent by users
nobody@mydomain. For some reason, the Return-path header is ignored. I
would really like to route these errors to his mailbox so he can handle
the bouncers. Furthermore, concerning this problem of the bulk mail.
I've had several people tell me that PHP is not the right way to send
bulk mail, yet, I know of no other way to read addresses from a mysql
table and send it as easily as with PHP. I was just wondering if there
is another way of doing it with PHP so my server won't get bombarded
with all these sendmail calls, ie, some way of pausing the sending
process after every nth mail so sendmail can catch up. I've heard people
talk about "sending the process to the background", but that sounds way
too loose a term...
Can someone here help me out?

Thanks a lot.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to