mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
docs(mu4e): fix msmtp config in readme
- requires being in an (after! mu4e ...) to work - minor fixes
This commit is contained in:
@ -74,11 +74,12 @@ forwarder such as =msmtp= (recommended).
|
|||||||
If you use =msmtp=, you'll likely want to add the following to your
|
If you use =msmtp=, you'll likely want to add the following to your
|
||||||
=config.el=:
|
=config.el=:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq sendmail-program "/usr/bin/msmtp"
|
(after! mu4e
|
||||||
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
send-mail-function #'smtpmail-send-it
|
send-mail-function #'smtpmail-send-it
|
||||||
message-sendmail-f-is-evil t
|
message-sendmail-f-is-evil t
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail)
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** NixOS
|
** NixOS
|
||||||
|
Reference in New Issue
Block a user