Eric Abrahamsen <e...@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

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to