Re: Re: Improving mail() 5th parameter handling
| From: | Kazuo Oishi | Date: | Mon, 09 Jan 2017 16:20:13 +0000 |
| Subject: | Re: Re: Improving mail() 5th parameter handling | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97630@lists.php.net to get a copy of this message | ||
Hi,
Yasuo Ohgaki <yohgaki@ohgaki.net> writes:
>> Without this option, how do you specify the envelope sender? That seems to
>> be the primary use-case.
>
> Indeed, it seems it is.
> It could be set by mail.force_extra_parameters. I agree this isn't a great
> way to do, but the obstacle may help users to notice risks.
It is very important for mail sending API to be able to change envelope
sender PER mail. For example, this is used to set Return-Path for error
handling like;
Return-Path: <internals-return-97601-kazuo=o-ishi.jp@lists.php.net>
mail.force_extra_parameters in php.ini is not enough.
--
Kazuo Oishi