diff options
author | jao <jao@gnu.org> | 2021-10-25 16:03:56 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-10-25 16:04:40 +0100 |
commit | 821fa0818e7120f4fe94102fe3a79153beb1acf0 (patch) | |
tree | e36d4a2358719af238afd8cb304092cb50ad2ddd | |
parent | 338d5081af3127aa98dcac368ccfbffc33a47ba7 (diff) | |
download | elibs-821fa0818e7120f4fe94102fe3a79153beb1acf0.tar.gz elibs-821fa0818e7120f4fe94102fe3a79153beb1acf0.tar.bz2 |
smstp support
-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 |