aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/mail.el
blob: cee35a52f41f785e6a6d913193d9c05915791655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; Mutt support.
(setq auto-mode-alist (append '((".*tmp/mutt.*" . message-mode)) auto-mode-alist))
(setq auto-mode-alist (append '((".*tmp/neomutt.*" . message-mode)) auto-mode-alist))

;; Hook up `mutt:...` style URLs
(use-package ol-notmuch :ensure t)
(org-add-link-type "message" 'org-notmuch-open)

(setq send-mail-function 'sendmail-send-it
      sendmail-program "/usr/bin/msmtp"
      mail-specify-envelope-from t
      message-sendmail-envelope-from 'header
      mail-envelope-from 'header)
nihil fit ex nihilo