Re: Adding mail() Parameter to Set Return Path
| From: | Melvyn Sopacua | Date: | Thu, 31 Oct 2002 13:58:29 +0000 |
| Subject: | Re: Adding mail() Parameter to Set Return Path | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90371@lists.php.net to get a copy of this message | ||
At 14:49 31-10-2002, Melvyn Sopacua wrote:
I think a parameter to set the MAIL FROM: user, will work much better. Last time I looked the 'From:' header is copied onto 'MAIL FROM:'. Separating those will have a more flexible and cross-platform solution, since you map that address to /usr/sbin/sendmail -f <MAIL_FROM_USER> on *nix.By the way - just remembered that the functionality is already there, using the ini setting 'sendmail_from'. So you could take a shortcut and map Return-Path to ini_set('sendmail_from') and reset when leaving the mail function. Or just update docs :) With kind regards, Melvyn Sopacua <?php include("not_reflecting_employers_views.txt"); ?>