[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IMAP Sending Issue with Multiple Accounts
From: |
James Thomas |
Subject: |
Re: IMAP Sending Issue with Multiple Accounts |
Date: |
Fri, 06 Sep 2024 07:35:28 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
James Thomas wrote:
> Serghei Iakovlev via "Announcements and discussions for GNUS, the GNU
> Emacs Usenet newsreader (in English)" wrote:
>
>> James Thomas writes:
>>
>>
>>> But there seems to be a better way; see:
>>> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/gnus/message.el#n5027
>>>
>>> Basically if you name the function as message-send-mail-with-<name>, you
>>> should be able to directly call it from X-Message-SMTP-Method.
>>
>>
>> So, essentially, you’re suggesting implementing two functions like:
>>
>> (defun message-send-mail-with-protonmail ())
>> (defun message-send-mail-with-gmail ())
>>
>>
>> and then specifying them in `gnus-posting-styles as':
>>
>> ("X-Message-SMTP-Method" "protonmail 127.0.0.1 1025")
>> ("X-Message-SMTP-Method" "gmail smtp.gmail.com 587")
>
> Need not be that complex, AFAICT. The method could simply be something
> like "starttls 127.0.0.1 1025" where the only thing you would do is
> let-bind the stream type and call the default.
Well, I was wrong about this part: 'method' ought to be dynamically
bound for just that block in the code, for this to be possible.
--
- Re: IMAP Sending Issue with Multiple Accounts, (continued)
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, Björn Bidar, 2024/09/05
- Message not available
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, Leo Butler, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, James Thomas, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts, James Thomas, 2024/09/05
- Re: IMAP Sending Issue with Multiple Accounts,
James Thomas <=
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/06
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/06
- Re: IMAP Sending Issue with Multiple Accounts, Robert Pluim, 2024/09/06
- Re: IMAP Sending Issue with Multiple Accounts, Serghei Iakovlev, 2024/09/06