[Top][All Lists]

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

Re: Multiple SMTP accounts with smtpmail.el

From: Ted Zlatanov
Subject: Re: Multiple SMTP accounts with smtpmail.el
Date: Sun, 25 Sep 2011 08:10:39 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Wed, 17 Aug 2011 23:06:29 +0200 Lars Magne Ingebrigtsen <address@hidden> 

LMI> I think it would be nice to find an auth-source based solution for the
LMI> multiple-account smtpmail case.  Which shouldn't be difficult, I think.
LMI> How about just adding a `smtpmail-user' variable, that when bound or set
LMI> would make smtpmail.el feed that user name to auth-source, and then get
LMI> the correct credentials?

LMI> `smtpmail-user' would be set from `message-send-hook' or the like, of
LMI> course.

It sounds like the search spec passed to `auth-source-search' simply
needs to be modified to use `smtpmail-user' as you suggest.  I see no
problem with that and it should be a trivial change.  Do you want me to
make it or will you?


reply via email to

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