info-gnus-english
[Top][All Lists]
Advanced

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

Re: IMAP Sending Issue with Multiple Accounts


From: Serghei Iakovlev
Subject: Re: IMAP Sending Issue with Multiple Accounts
Date: Thu, 05 Sep 2024 23:09:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Leo Butler <Leo.Butler@umanitoba.ca> writes:

>> --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")

The last thing I would have thought of is configuring SMTP settings
through IMAP connection customization. As I mentioned earlier, I
don't have any issues with reading emails from any of my accounts—the
problem was specifically with sending mail and selecting the correct
value for smtpmail-stream-type. Apologies if I misunderstood your
point, but I did read the info pages you referenced, and I didn't
find anything related to setting up SMTP there.

-- 
Serghei Iakovlev




reply via email to

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