summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 29a9ec9..490df15 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1939,7 +1939,7 @@ https://csclub.uwaterloo.ca/~abandali")
(use-feature sendmail
:config
- (setq sendmail-program "/usr/bin/msmtp"
+ (setq sendmail-program (executable-find "msmtp")
;; message-sendmail-extra-arguments '("-v" "-d")
mail-specify-envelope-from t
mail-envelope-from 'header))