[thelist] [php] bounced php mail on win2k

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Wed May 5 17:20:17 CDT 2004

I'm now seeing two Return-Path entries, one
that is set to the sendmail_from address and one that I set in my mail()
Are you setting headers in the correct order?  I had that problem once.
Check the php manual mail() section, especially the comment from kieran dot
huggins on 20-Nov-2002 for a good example.[1]

Alternatively, you can use CDONTS, which IIRC automatically sets return-path
to be the same the From address.[2]

[1] http://us4.php.net/manual/en/ref.mail.php
[2] http://www.devhome.org/php/tutorials/cdonts.html

Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
voice: 541-302-1438
fax: 208-730-6504

More information about the thelist mailing list