[Top][All Lists]

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

Re: Multiple SMTP accounts with smtpmail.el

From: Leo
Subject: Re: Multiple SMTP accounts with smtpmail.el
Date: Thu, 18 Aug 2011 11:19:45 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8)

On 2011-08-18 05:06 +0800, Lars Magne Ingebrigtsen wrote:
[snipped 10 lines]
> I think it would be nice to find an auth-source based solution for the
> multiple-account smtpmail case.  Which shouldn't be difficult, I think.
> How about just adding a `smtpmail-user' variable, that when bound or set
> would make smtpmail.el feed that user name to auth-source, and then get
> the correct credentials?
> `smtpmail-user' would be set from `message-send-hook' or the like, of
> course.

How about smtpmail-auth-spec (for the SPEC arg of auth-source-search)?


reply via email to

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