help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Multiple IMAP accounts with Gnus/Message ?


From: Leo Butler
Subject: Re: Multiple IMAP accounts with Gnus/Message ?
Date: Sat, 05 Sep 2020 06:50:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

David Masterson <dsmasterson92630@outlook.com> writes:

> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
> soyeomul@vladivostok.yw.doraji.xyz (황병희) writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Then of course you'll want to set the appropriate SMTP server, see here:
>>>
>>> https://www.emacswiki.org/emacs/MultipleSMTPAccounts
>>
>> [Eric's comments + X-Message-SMTP-Method] are good for you.
>
> Could you elaborate on X-Message-SMTP-Method ?
> 1. What is it? (I think I kind of know)
> 2. How would you use/set it from Gnus?

You can set an X-Message-SMTP-Method in an entry of gnus-posting-styles.
Here's snippet from mine:


(setq gnus-posting-styles '(...
      ("UManitoba:.+"
          (address "Leo.Butler@UManitoba.ca")
          (X-Message-SMTP-Method "smtp smtp.office365.com 587 
Leo.Butler@umanitoba.ca"))
      ...)

When I compose an email like this one, it drops that header into the
buffer and that ensures the correct server is used.

Leo



reply via email to

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