bsquared <[email protected]> writes: > I would like to change smtp authorization based on account/group. > > I do not know lisp, but it seems that I should be able to switch the > authinfo file based on the group or From field. > > > smtpmail-auth-credentials FROM == "x" ? "~/.authinfo.1" : "~/.authinfo.2" > > How could I go about doing something like this?
Maybe this¹ emacs wiki page is what you are looking for? When I click C-c C-c a command is issued and SMTP variables are set depending on the from email. All logins are stored in ~/.authinfo.gpg. I think I use some four SMTP servers. Cheers, Rasmus Footnotes: ¹ http://www.emacswiki.org/emacs/MultipleSMTPAccounts -- Sent from my Emacs _______________________________________________ info-gnus-english mailing list [email protected] https://lists.gnu.org/mailman/listinfo/info-gnus-english
