diff options
Diffstat (limited to 'email.org')
-rw-r--r-- | email.org | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -179,7 +179,14 @@ (setq smtpmail-smtp-server "127.0.0.1") (setq smtpmail-smtp-service 25)) - (jao-sendmail-local) + (defun jao-sendmail-msmtp () + (setq send-mail-function 'sendmail-send-it + sendmail-program "/usr/bin/msmtp" + mail-specify-envelope-from t + message-sendmail-envelope-from 'header + mail-envelope-from 'header)) + + (jao-sendmail-msmtp) #+end_src * mailcap #+begin_src emacs-lisp |