summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-04-29 22:13:23 +0100
committerAlan Pearce2013-04-29 22:13:23 +0100
commitfe0c6cc671c9f8f2489f268856fbe98e2d759427 (patch)
treef0f2508d05a3f097e7f5612c4b50173cae54e34e /emacs
parent3d6840199625a81cd5c86ed815909f48dd928d87 (diff)
downloadnixfiles-fe0c6cc671c9f8f2489f268856fbe98e2d759427.tar.lz
nixfiles-fe0c6cc671c9f8f2489f268856fbe98e2d759427.tar.zst
nixfiles-fe0c6cc671c9f8f2489f268856fbe98e2d759427.zip
Emacs: setup mu4e
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 2953cdff..7f6c8731 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -271,6 +271,17 @@
             (add-to-list 'erc-modules 'autojoin)
             (add-to-list 'erc-modules 'match)))
 
+(setq message-send-mail-function 'smtpmail-send-it)
+(setq smtpmail-smtp-server "external.home")
+
+(use-package mu4e
+  :load-path "/usr/share/emacs/site-lisp/mu4e"
+  :config (progn
+            (setq mu4e-get-mail-command "true"
+                  mu4e-sent-folder "/alanpearce/Sent"
+                  mu4e-drafts-folder "/alanpearce/Drafts"
+                  mu4e-refile-folder "/alanpearce/Archive")))
+
 ;;;; Completion
 
 (setq completion-styles '(basic initials partial-completion substring)