[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IMAP Sending Issue with Multiple Accounts
From: |
Leo Butler |
Subject: |
Re: IMAP Sending Issue with Multiple Accounts |
Date: |
Thu, 5 Sep 2024 20:33:46 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Thu, Sep 05 2024, Serghei Iakovlev via "Announcements and discussions for
GNUS, the GNU Emacs Usenet newsreader (in English)" <info-gnus-english@gnu.org>
wrote:
> Björn Bidar <bjorn.bidar@thaodan.de> writes:
>
> I think I've tried about a dozen different combinations before
> finding a working setup. I also realized I had a typo and was using
> the wrong port (578 instead of the correct 587). Additionally, I
> found that setting smtpmail-stream-type to either 'ssl or nil also
> caused connection errors. It seems like I’ve finally got it working
> as expected (yay!). Here’s the current version of my relevant code
> that made Gnus do what I need:
>
> --8<-----------------cut here----------------start--------------->8--
> (defun my-configure-smtp-stream-type ()
> "Configure the SMTP stream type based on the current user email address."
> (cond ((equal user-mail-address "egrep@protonmail.ch")
> (setq smtpmail-stream-type 'ssl))
> ((equal user-mail-address "redacted@gmail.com")
> (setq smtpmail-stream-type 'starttls))))
>
> (add-hook 'message-send-hook #'my-configure-smtp-stream-type)
> --8<-----------------cut here----------------end----------------->8--
That function/hook is unnecessary. You can use
`gnus-secondary-select-methods' or use the Server Buffer to configure
the stream type.
(info "(Gnus) Customizing the IMAP Connection")
(info "(Gnus) Server Buffer")
Leo
- 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, 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 <=
- 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, 2024/09/05
- 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