Re: managing bounced mail
| From: | Mike Flynn | Date: | Fri, 24 Aug 2001 18:02:24 +0000 |
| Subject: | Re: managing bounced mail | ||
| References: | 1 | Groups: | php.windows php.windows |
| Request: | Send a blank email to php-windows+get-9050@lists.php.net to get a copy of this message | ||
If it is indeed on a Windows server, check your php.ini file.
Look for the entry:
; For Win32 only.
sendmail_from= mike@mikeflynn.net ; for Win32 only
And put the e-mail address you'd like the SMTP server to see as the sender there.
-Mike
At 10:59 PM 8/22/01 +0200, you wrote:
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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-=- Mike Flynn - Burlington, VT -=-mike@mikeflynn.net http://www.mikeflynn.net/ * Give blood * "this is a subversive quote"