Re: mail() and Return-Path header

From: Date: Thu, 02 Feb 2006 13:23:52 +0000
Subject: Re: mail() and Return-Path header
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229706@lists.php.net to get a copy of this message
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('to@somewhere.com', 'Subject', 'Message', "From: from@somewhere.com\nReturn-Path: bounce@somewhere.com\n"); .. but when the message bounces - it bounces to apache@web.server instead of the bounce adress? Any hints on how to solve this problem? Return Path? isn't it Reply-To?
-- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#229706) next »