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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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]