Re: modifing PEAR Mail so we can use return paths
| From: | Vitaliy N. Kravchenko | Date: | Wed, 28 May 2003 18:26:14 +0000 |
| Subject: | Re: modifing PEAR Mail so we can use return paths | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16786@lists.php.net to get a copy of this message | ||
Piotr Klaban wrote:
On Tue, May 27, 2003 at 11:39:23AM +1000, Alex Hayes wrote:I can't see this in manual.. P.S. I want to receive error-messages.. Thanks.Perhaps this has already been suggested (or perhaps im going down the wrong path.....?), however I couldnt find anything on the dev mailing list.. I think that there can be changes made to the PEAR's Mail class(s) that would allow people to define the Return-Path properly without it being overwritten as the From path as currently happens. The Return-Path doesnt get used properly. This is because the implementation of the mail classes IE. Mail/sendmail.php overwrite the return path by using the -f argument, as follows...And this is the right behaviour IMHO. If you want people to reply to another address than specified in From: header, then use Reply-To:. If you want receive error messages under different location - use -f$different_email Hm... how can I set this parameter in PEAR::Mail, which will use with -f option in Mail/sendmail.php ?