Re: managing bounced mail

From: Date: Fri, 24 Aug 2001 07:47:24 +0000
Subject: Re: managing bounced mail
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9035@lists.php.net to get a copy of this message
Hi. Just a comment about the return-path: The mail() function requires additional headers to be case sensitive depending on the OS PHP/SMTP is running on. Under Linux I think you have to write them "Reply-To" and "Return-Path" according to the manual (http://www.php.net/manual/en/function.mail.php). MfG Maar ---------------------------------------- Matthias Maar Lehrstuhl für Informatik I Universität Würzburg Am Hubland D-97074 Würzburg Germany Tel.: ++49 (0) 931/888-4941 Fax: ++49 (0) 931/888-4600 http://www1.informatik.uni-wuerzburg.de "P.Agenbag" <internet@psimation.com> schrieb im Newsbeitrag news:3B841D25.5209A7BD@psimation.com... > 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. > >

« previous php.windows (#9035) next »