summaryrefslogtreecommitdiff
path: root/email.el
blob: a655cb20cfb43904f087e75c4d4af6cb93545c90 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
(require 'mu4e)

; set up email sending with msmtp
(setq mail-specify-envelope-from t)
(setq message-sendmail-envelope-from 'header)
(setq mail-envelope-from 'header)
(setq message-directory "~/mail/")
(setq notmuch-fcc-dirs "Sent")
(setq message-kill-buffer-on-exit t)

(setq message-send-mail-function 'message-send-mail-with-sendmail)

;;use msmtp instead of sendmail
(setq sendmail-program "/usr/bin/msmtp")