* Thus wrote Daryl Meese ([EMAIL PROTECTED]): > Hello all, > > When I use the PHP mail function to send emails, with a header of > "From:[EMAIL PROTECTED]"; bounced and otherwise undeliverable messages come back > to the user "www", not the user I indicated the mail was from. Is this a > PHP or MTA issue? Is there something I can do about it?
You want to check the fifth parameter to mail(). If you add "-f [EMAIL PROTECTED]" If you're using sendmail (or equiv) that will set the envelope (aka return path) for the emails, as long as safe_mode is not enabled. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php