From ba62fecbdc01969599adc75f46d9648f379bcf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Thu, 28 Oct 2021 22:07:27 +0100 Subject: [PATCH] Move mail.el to here --- init.el | 2 +- mail.el | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mail.el diff --git a/init.el b/init.el index 89f1741..dc02b1a 100644 --- a/init.el +++ b/init.el @@ -347,7 +347,7 @@ (when (islin) (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") - (load-file "~/mail.el") + (load-file "~/.emacs.d/mail.el") (require 'mu4e) (setq send-mail-function 'smtpmail-send-it) (load-file "~/.emacs.d/custom/dwpost.el")) diff --git a/mail.el b/mail.el new file mode 100644 index 0000000..69098a1 --- /dev/null +++ b/mail.el @@ -0,0 +1,16 @@ +(setq mu4e-sent-folder "/Gmail/sent" + mu4e-drafts-folder "/Gmail/drafts" + user-mail-address "eheu48@gmail.com" + smtpmail-default-smtp-server "smtp.gmail.com" + smtpmail-smtp-server "smtp.gmail.com" + smtpmail-smtp-service 587) + +(defvar my-mu4e-account-alist + '(("Gmail" + (mu4e-sent-folder "/Gmail/sent") + (user-mail-address "eheu48@gmail.com") + (smtpmail-smtp-user "eheu48") + (smtpmail-local-domain "gmail.com") + (smtpmail-default-smtp-server "smtp.gmail.com") + (smtpmail-smtp-server "smtp.gmail.com") + (smtpmail-smtp-service 587))))