aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/mail.el
blob: 4d1c8d11fa36f437359107485e553c11d1ef0cb9 (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)
(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