]> code.delx.au - gnu-emacs-elpa/commitdiff
* smtpmail-async.el (async-smtpmail-send-it): Inject the value of auth-sources (#22)
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Tue, 11 Mar 2014 13:13:22 +0000 (14:13 +0100)
committerThierry Volpiatto <thierry.volpiatto@gmail.com>
Tue, 11 Mar 2014 13:13:22 +0000 (14:13 +0100)
smtpmail-async.el

index c5a9fac99fa9341fabd41069e38465cc033355bd..f71dcbea07192e509021c0ddf114c782efc41417 100644 (file)
@@ -56,7 +56,7 @@
           (set-buffer-multibyte nil)
           ;; Pass in the variable environment for smtpmail
           ,(async-inject-variables
-            "\\`\\(smtpmail\\|async-smtpmail\\|\\(user-\\)?mail\\)-"
+            "\\`\\(smtpmail\\|async-smtpmail\\|\\(user-\\)?mail\\)-\\|auth-sources"
             nil "\\`\\(mail-header-format-function\\|smtpmail-address-buffer\\|mail-mode-abbrev-table\\)")
           (run-hooks 'async-smtpmail-before-send-hook)
           (smtpmail-send-it)))