Hi Stas, On Tue, Jan 17, 2017 at 6:02 AM, Stanislav Malyshev <smalys...@gmail.com> wrote:
> > - Allow array additional_parameter and soft deprecate (document > > deprecation) string one. > > - Use key as "option name" and validate chars > > - Use value as "option value" and validate some control chars then apply > > escapeshellarg() > > Making array sounds good, but I'm not sure what is meant by "option > name" here - CLI arguments don't have names? I'm planning to use extra_parameters array like $opts = [ '-f' => 's...@example.com', // Envelope sender '-4' => null, // Force IPv4 '-au' => 'u...@example.com', // SMTP auth user '-ap' => 'secret', // SMTP auth password '-am' => 'CRAM-MD5', // SMTP auth method ]; To all, I cannot reseach all kinds of sendmail binaries. If there are exotic sendmail binaries, I would like to know the reference for them. Thank you. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net