summaryrefslogtreecommitdiffstats
path: root/.config/emacs/jd
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/jd')
-rw-r--r--.config/emacs/jd/jd-mu4e.el33
1 files changed, 19 insertions, 14 deletions
diff --git a/.config/emacs/jd/jd-mu4e.el b/.config/emacs/jd/jd-mu4e.el
index cda39f2..cc0eb24 100644
--- a/.config/emacs/jd/jd-mu4e.el
+++ b/.config/emacs/jd/jd-mu4e.el
@@ -1,3 +1,5 @@
1(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
2
1(use-package org-msg) 3(use-package org-msg)
2 4
3(use-package mu4e 5(use-package mu4e
@@ -26,26 +28,29 @@
26 (mu4e-trash-folder . "/abaks/Trash") 28 (mu4e-trash-folder . "/abaks/Trash")
27 (mu4e-drafts-folder . "/abaks/Drafts") 29 (mu4e-drafts-folder . "/abaks/Drafts")
28 (mu4e-refile-folder . "/abaks/Archive") 30 (mu4e-refile-folder . "/abaks/Archive")
31 (smtpmail-local-domain . "pl")
32 (smtpmail-smtp-server . "smtp.abaks.pl")
29 (mu4e-sent-messages-behavior . sent) 33 (mu4e-sent-messages-behavior . sent)
30 )) 34 ))
31 ,(make-mu4e-context 35 ,(make-mu4e-context
32 :name "Gmail" 36 :name "Gmail"
33 :match-func (lambda (msg) (when msg 37 :match-func (lambda (msg) (when msg
34 (string-prefix-p "/gmail" (mu4e-message-field msg :maildir)))) 38 (string-prefix-p "/gmail" (mu4e-message-field msg :maildir))))
35 :vars '( 39 :vars '(
36 (user-full-name . "Jakub Dlugosz") 40 (user-full-name . "Jakub Dlugosz")
37 (user-mail-address . "jdlugosz963@gmail.pl") 41 (user-mail-address . "jdlugosz963@gmail.com")
38 (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane") 42 (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane")
39 (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz") 43 (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz")
40 (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze") 44 (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze")
41 (mu4e-refile-folder . "/gmail/Archive") 45 (mu4e-refile-folder . "/gmail/Archive")
42 (mu4e-sent-messages-behavior . sent) 46 (smtpmail-local-domain . "com")
43 )))) 47 (smtpmail-smtp-server . "smtp.gmail.com")
48 (mu4e-sent-messages-behavior . sent)
49 ))))
44 50
45 (setq mail-user-agent 'mu4e-user-agent 51 (setq mail-user-agent 'mu4e-user-agent
52 mail-host-address nil
46 message-send-mail-function 'smtpmail-send-it 53 message-send-mail-function 'smtpmail-send-it
47 smtpmail-smtp-server "smtp.abaks.pl"
48 smtpmail-local-domain "pl"
49 smtpmail-smtp-service 465 54 smtpmail-smtp-service 465
50 smtpmail-stream-type 'ssl) 55 smtpmail-stream-type 'ssl)
51 56