branch: master
commit addec5ed09b048b639390a183ab4cf2df83e72cd
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
* smtpmail-async.el (async-smtpmail-send-it): Inject the value of
auth-sources (#22)
---
smtpmail-async.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/smtpmail-async.el b/smtpmail-async.el
index c5a9fac..f71dcbe 100644
--- a/smtpmail-async.el
+++ b/smtpmail-async.el
@@ -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)))