From: Martin Langhoff Date: Fri, 28 Apr 2006 01:04:32 GMT Subject: Re: [PATCH] send-email: Change from Mail::Sendmail to Net::SMTP Message-ID: <46a038f90604271804j195d62f3x93ae816e809f4ffd@mail.gmail.com> In-Reply-To: <20060428002744.GB9146@hand.yhbt.net> On 4/28/06, Eric Wong wrote: > You should be able to just open a pipe to: > /usr/sbin/sendmail @recipients > and just write headers\nbody to that pipe. Sounds reasonable. I just looked at what Mail::Sendmail does and it isn't specially interesting. (There used to be a different Perl module that did smart things, depending on what MTA it found, but I can't find it now). > Perhaps allow and detect --smtp-server=/path/to/sendmail ? Oh, it should just work with sendmail if it's there and we don't provide --smtp-server ;-) m