On Tue, Jan 17, 2017 at 6:20 PM, Yasuo Ohgaki <[email protected]> wrote:
> I'm planning to use extra_parameters array like > > $opts = [ > '-f' => '[email protected]', // Envelope sender > '-4' => null, // Force IPv4 > '-au' => '[email protected]', // 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. > The command line would look something like $ sendmail -F 'Some User' -f '[email protected]' -4 -au '[email protected]' -ap 'secret' -am 'CRAM-MD5' [email protected] < msg.txt // I added -F (Fullname) option to illustrate we need ' '(space) for option values. Option values are escaped by php_escape_shell_arg(). Thank you for feedback. Regards, -- Yasuo Ohgaki [email protected]
