Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] send-email: Change from Mail::Sendmail to Net::SMTP

From: Eric Wong <hidden>
Date: 2016-06-15 22:42:24

Martin Langhoff [off-list ref] wrote:
On 4/27/06, Junio C Hamano [off-list ref] wrote:
quoted
quoted
system that we don't need an smtp daemon. Net::SMTP doesn't know how
to use /usr/bin/sendmail
quoted
Wouldn't --smtp-server=that.smtp.server work for you?  Ah, that
would not work if your use is to send a local mail.  Hmph...
Well, the machine knows that the smtp server is (I mean, files in /etc
have the right values in them), but I don't think often about it. Only
when I am installing OSs or MTAs...

I know... I'm a whiner! ;-) I'll probably do something that does an
eval and tries Mail::Sendmail and post it.
You should be able to just open a pipe to:
	/usr/sbin/sendmail @recipients
and just write headers\nbody to that pipe.

Perhaps allow and detect --smtp-server=/path/to/sendmail ?

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help