about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-06-06T19·05+0200
committerVincent Ambo <tazjin@gmail.com>2018-06-06T19·05+0200
commitc1c102665cf42a4b91a377fae550ebb34f3b9c53 (patch)
tree17ed466311af7c314fb9d68aa8069d35ad3c76d1
parentead3a701147a013394c0e08fb30cc248aead0de6 (diff)
fix(mail): Ensure MSMTP's sendmail binary is used for sending
-rw-r--r--init/mail-setup.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index c98d54d46d0e..8f2bd8010579 100644
--- a/init/mail-setup.el
+++ b/init/mail-setup.el
@@ -24,6 +24,7 @@
 (setq notmuch-show-empty-saved-searches t)
 
 ;; Mail sending configuration
+(setq send-mail-function 'sendmail-send-it) ;; sendmail provided by MSMTP
 (setq notmuch-always-prompt-for-sender t)
 (setq notmuch-mua-user-agent-function
       (lambda () (format "Emacs %s; notmuch.el %s" emacs-version notmuch-emacs-version)))