summaryrefslogtreecommitdiffhomepage
path: root/email.org
diff options
context:
space:
mode:
Diffstat (limited to 'email.org')
-rw-r--r--email.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/email.org b/email.org
index c74ee35..ca16c09 100644
--- a/email.org
+++ b/email.org
@@ -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