[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtpmail vs msmtp
From: |
Eric Abrahamsen |
Subject: |
Re: smtpmail vs msmtp |
Date: |
Sun, 22 Sep 2019 10:24:33 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> 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.
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...