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

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

Configuring smtp server per account


From: Juan José García-Ripoll
Subject: Configuring smtp server per account
Date: Sat, 01 Mar 2025 21:29:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

I have a question that I don't manage to solve, though at some point it
seemed to work.

Essentially, I have multiple email accounts and when I reply to each of
them I want to use a different smtp server.

I have used gnus-parameters to define special values for
smtpmail-smtp-server and smtpmail-smtp-service (port), with login and
passwords set in an authinfo file.

Unfortunately only the value of the "From" line from gnus-parameters is
propagated to the message window. The value of smtpmail-smtp-* variables
is reset to nil in the message window, forcing me to define those
variables globally.

I could of course write a hook that checks the message window's From and
try to reset the smtp server, but I am sure there must be a more elegant
way.

Best,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




reply via email to

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