[thelist] [php] bounced php mail on win2k

Judah McAuley judah at wiredotter.com
Wed May 5 14:01:17 CDT 2004

I'm running PHP 4.3 under Win2K. As per the docs, I've got the SMTP 
server and sendmail_from set in the php.ini file. Sending mail works 
fine thus far. We add From as an extra header and the mail looks fine 
when it arrives in the users mail box. The problem comes when mail is 
sent to a bad address. Instead of bounces being sent to the From 
address, they are sent to the sendmail_from address. This obviously is a 
non-optimal way of handling things. I've tried adding a Reply-To header 
but no luck.

Any thoughts on handling bounce messages elegantly short of writing a 
custom parser to check the sendmail_from mailbox and send the bounces to 
the correct addresses?


More information about the thelist mailing list