fix(notmuch): send-mail-function -> message-send-mail-function

This commit is contained in:
Pavel Korytov 2022-01-22 22:28:23 +03:00
parent c83041584d
commit f3c7706503
2 changed files with 3 additions and 0 deletions

View file

@ -12,10 +12,12 @@
(setq message-sendmail-envelope-from 'header)
(setq mail-envelope-from 'header)
(setq notmuch-always-prompt-for-sender t)
(setq message-send-mail-function #'message-send-mail-with-sendmail)
(setq sendmail-program (executable-find "msmtp"))
(setq send-mail-function #'sendmail-send-it)
(setq mml-secure-openpgp-sign-with-sender t)
(setq notmuch-mua-user-agent-function 'notmuch-mua-user-agent-full)
;; Use org-contacts for completion
(setq notmuch-address-command 'as-is)
(add-hook 'notmuch-hello-mode-hook
(lambda () (display-line-numbers-mode 0))))

View file

@ -412,6 +412,7 @@ Finally the proper notmuch settings:
(setq message-sendmail-envelope-from 'header)
(setq mail-envelope-from 'header)
(setq notmuch-always-prompt-for-sender t)
(setq message-send-mail-function #'message-send-mail-with-sendmail)
(setq sendmail-program (executable-find "msmtp"))
(setq send-mail-function #'sendmail-send-it)
(setq mml-secure-openpgp-sign-with-sender t)