Lars Ingebrigtsen <la...@gnus.org> writes: > 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.
I think I just never went and learned how to use auth-source with the "pass" utility. It looks like it's supported, maybe that will be my rainy Sunday morning... _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english