Re: [PATCH] send-email: Change from Mail::Sendmail to Net::SMTP
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Apr 28, 2006, 01:04 UTC
- Message-ID
- <46a038f90604271804j195d62f3x93ae816e809f4ffd@mail.gmail.com>
- In-Reply-To
- <20060428002744.GB9146@hand.yhbt.net>
On 4/28/06, Eric Wong <normalperson@yhbt.net> 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