Make sure `message-mode' uses the right function to send mail
Up to now, it seemed to be sufficient to set `send-mail-function' alone, but somehow some changes have made it necessary to set `message-send-mail-function' explicitly. If not done, it defaults to `message-send-mail-with-sendmail', using the sendmail exectuable to send mail. At least on my machine this results in the message being delivered to the local exim instance, which does not allow sending remote sending of mail.
This commit is contained in:
parent
a3456f7863
commit
8f3403e132
1
init.el
1
init.el
|
@ -1693,6 +1693,7 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
:around #'db/mml-attach-file--go-to-eob)))
|
:around #'db/mml-attach-file--go-to-eob)))
|
||||||
|
|
||||||
(setq notmuch-fcc-dirs nil
|
(setq notmuch-fcc-dirs nil
|
||||||
|
message-send-mail-function #'db/smtpmail-send-it
|
||||||
send-mail-function #'db/smtpmail-send-it)
|
send-mail-function #'db/smtpmail-send-it)
|
||||||
|
|
||||||
(use-package smtpmail
|
(use-package smtpmail
|
||||||
|
|
Loading…
Reference in New Issue
Block a user