info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpmail vs msmtp


From: Lars Ingebrigtsen
Subject: Re: smtpmail vs msmtp
Date: Mon, 16 Sep 2019 22:40:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I'm using smtp with multiple accounts, and a `message-send-mail-hook'
> that sets the msmtp account based on the From header. Is that still the
> way everyone is doing it? Is there anything simpler for handling
> multiple accounts?

Doing this with Message/smtpmail.el is really too.  Just put

X-Message-SMTP-Method: smtp smtp.fsf.org 587 other-user

in the message headers and that server/port/user name will be used when
sending mail.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]