Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97630 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81443 invoked from network); 9 Jan 2017 16:20:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2017 16:20:25 -0000 Authentication-Results: pb1.pair.com header.from=kazuo@o-ishi.jp; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=oishi@giraffy.jp; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain giraffy.jp designates 49.212.134.110 as permitted sender) X-PHP-List-Original-Sender: oishi@giraffy.jp X-Host-Fingerprint: 49.212.134.110 www7096uf.sakura.ne.jp Received: from [49.212.134.110] ([49.212.134.110:47365] helo=xii.giraffy.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/1C-31343-848B3785 for ; Mon, 09 Jan 2017 11:20:25 -0500 Received: from localhost (localhost [127.0.0.1]) by xii.giraffy.jp (Postfix) with ESMTP id CB8047C2F0D; Tue, 10 Jan 2017 01:20:20 +0900 (JST) X-Virus-Scanned: amavisd-new at giraffy.jp Received: from xii.giraffy.jp ([127.0.0.1]) by localhost (xii.giraffy.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSkuPXdb8NgQ; Tue, 10 Jan 2017 01:20:14 +0900 (JST) Received: from lil.giraffy.jp (aa024044.ppp.asahi-net.or.jp [110.5.24.44]) by xii.giraffy.jp (Postfix) with ESMTPSA id ECB6A7C2EAA; Tue, 10 Jan 2017 01:20:13 +0900 (JST) To: Yasuo Ohgaki Cc: Nikita Popov , "internals\@lists.php.net" In-Reply-To: (Yasuo Ohgaki's message of "Mon, 9 Jan 2017 07:56:39 +0900") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Date: Tue, 10 Jan 2017 01:20:13 +0900 Message-ID: <8760lojjcy.fsf@lil.giraffy.jp> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [PHP-DEV] Re: Improving mail() 5th parameter handling From: kazuo@o-ishi.jp (Kazuo Oishi) Hi, Yasuo Ohgaki 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: mail.force_extra_parameters in php.ini is not enough. -- Kazuo Oishi