From 2ff93f0988a6f5475f1fc0368e4c880dc6847f2f Mon Sep 17 00:00:00 2001 From: Flinner Date: Sat, 12 Mar 2022 22:24:34 +0300 Subject: [PATCH] feat: send-mail, smtpmail! --- emacs.mine/.config/emacs.mine/emacs.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs.mine/.config/emacs.mine/emacs.org b/emacs.mine/.config/emacs.mine/emacs.org index 5791e12..91fe1da 100644 --- a/emacs.mine/.config/emacs.mine/emacs.org +++ b/emacs.mine/.config/emacs.mine/emacs.org @@ -2207,6 +2207,15 @@ I wrote that, neat isn't it? :P #+end_src +** Send email +#+begin_src emacs-lisp +(setq sendmail-program "/usr/bin/msmtp" + message-sendmail-f-is-evil t + message-sendmail-extra-arguments '("--read-envelope-from") + send-mail-function 'smtpmail-send-it + message-send-mail-function 'message-send-mail-with-sendmail) +#+end_src + ** Email List here! #+begin_src emacs-lisp :tangle no (setq mu4e-contexts `(