From 37b4260745a76da9d81210beba6307f5a5e7bb30 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Fri, 8 Jul 2022 10:01:57 +0200 Subject: [PATCH] Start to configure sending mail --- README.org | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.org b/README.org index 71f051e..15f1fa7 100644 --- a/README.org +++ b/README.org @@ -4032,6 +4032,37 @@ initializes a list of =webjump-sites=. ("Volkskrant" . "www.volkskrant.nl")))))) #+end_src +** [[info:emacs#Sending Mail][Sending Mail (info)]] +:PROPERTIES: +:CUSTOM_ID: sec:sending-mail +:END: + +1. [[https://macowners.club/posts/email-emacs-mu4e-macos/][Email setup in Emacs with Mu4e on macOS]] + +#+caption[Configure =message=]: +#+caption: Configure =message=. +#+name: lst:configure-message +#+begin_src emacs-lisp + (custom-set-variables + '(user-full-name "Gerard Vermeulen") + '(user-mail-address "gerard.vermeulen@neel.cnrs.fr")) + (with-eval-after-load 'message + (custom-set-variables + '(message-sendmail-envelope-from 'header))) +#+end_src + +#+caption[Configure =sendmail=]: +#+caption: Configure =sendmail=. +#+name: lst:configure-sendmail +#+begin_src emacs-lisp + (with-eval-after-load 'sendmail + (custom-set-variables + '(mail-specify-envelope-from t) + '(mail-envelope-from 'header) + '(send-mail-function #'sendmail-send-it) + `(send-mail-program ,(executable-find "msmtp")))) +#+end_src + ** [[https://github.com/skeeto/elfeed#readme][Elfeed: Emacs web feed reader]] :PROPERTIES: :CUSTOM_ID: sec:emacs-web-feed-reader