Søren Schimkat wrote:
Hi Guys
I'm using the mail function for sending mail, and I would like to specify the
Return-Path header, but it would seem that PHP or Apache is modyfying the
header.
This is the simple code:
mail('[EMAIL PROTECTED]', 'Subject', 'Message', "From:
[EMAIL PROTECTED]: [EMAIL PROTECTED]");
.. but when the message bounces - it bounces to [EMAIL PROTECTED] instead of
the bounce adress?
Any hints on how to solve this problem?
If you're on *nix you can use the fifth parameter of the mail()
function, and specify "[EMAIL PROTECTED]".
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php