Setup mu4e send mail via msmtp

This commit is contained in:
Emmet 2023-11-06 20:10:57 -06:00
parent 00689dae5a
commit a5dbcf0e91
2 changed files with 10 additions and 0 deletions

View file

@ -1224,6 +1224,11 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
(:from-or-to . 20) (:from-or-to . 20)
(:subject))) (:subject)))
(load "~/.emacs.d/mu4e-private.el") (load "~/.emacs.d/mu4e-private.el")
(setq sendmail-program "~/.nix-profile/bin/msmtp"
send-mail-function 'smtpmail-send-it
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function 'message-send-mail-with-sendmail)
;;;-- Load emacs direnv;;;-- ;;;-- Load emacs direnv;;;--
(require 'direnv) (require 'direnv)

View file

@ -1444,6 +1444,11 @@ I don't have this active right now since it's kinda weird with pgtk...
(:from-or-to . 20) (:from-or-to . 20)
(:subject))) (:subject)))
(load "~/.emacs.d/mu4e-private.el") (load "~/.emacs.d/mu4e-private.el")
(setq sendmail-program "~/.nix-profile/bin/msmtp"
send-mail-function 'smtpmail-send-it
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function 'message-send-mail-with-sendmail)
#+END_SRC #+END_SRC
** EAF ** EAF
EAF doesn't work on Wayland :( EAF doesn't work on Wayland :(