Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95215 invoked from network); 8 Jan 2017 22:57:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2017 22:57:31 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:57406] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/5E-31343-9D3C2785 for ; Sun, 08 Jan 2017 17:57:30 -0500 Received: (qmail 78999 invoked by uid 89); 8 Jan 2017 22:57:26 -0000 Received: from unknown (HELO mail-wm0-f52.google.com) (yohgaki@ohgaki.net@74.125.82.52) by 0 with ESMTPA; 8 Jan 2017 22:57:26 -0000 Received: by mail-wm0-f52.google.com with SMTP id k184so98403423wme.1 for ; Sun, 08 Jan 2017 14:57:26 -0800 (PST) X-Gm-Message-State: AIkVDXJ+nDCvbMKEIAIMfzVuLBssNRrTJQJpbLSMSEaekqARQGFyCw19xlVUEJR1Z7jGUQEGJlhQ9yZvW6eMZA== X-Received: by 10.223.160.172 with SMTP id m41mr9367276wrm.116.1483916239699; Sun, 08 Jan 2017 14:57:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.195.12.8 with HTTP; Sun, 8 Jan 2017 14:56:39 -0800 (PST) In-Reply-To: References: Date: Mon, 9 Jan 2017 07:56:39 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Nikita Popov Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a114e3092580dd305459d2c19 Subject: Re: [PHP-DEV] Re: Improving mail() 5th parameter handling From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a114e3092580dd305459d2c19 Content-Type: text/plain; charset=UTF-8 Hi Nikita and all, On Mon, Jan 9, 2017 at 7:31 AM, Nikita Popov wrote: > 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. Parameters must be validated still, but it will help in most cases and I don't mind writing patch for arrayed 'addtional_parameter'. In this case, I'll just fix this as normal bug fix and post proposed patch before commit. Any comments on this? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a114e3092580dd305459d2c19--