Enable mail plugin
This commit is contained in:
parent
6552672943
commit
b27d60d68b
41
config.org
41
config.org
|
@ -40,6 +40,9 @@
|
|||
- [[#doom-specific][Doom specific]]
|
||||
- [[#magit][Magit]]
|
||||
- [[#gitlab-ci-skip-flag][Gitlab CI skip flag]]
|
||||
- [[#email][Email]]
|
||||
- [[#account-configuration][Account configuration]]
|
||||
- [[#disable-org-msg-by-default][Disable =org-msg= by default]]
|
||||
|
||||
* Misc
|
||||
|
||||
|
@ -520,3 +523,41 @@ not ready yet.
|
|||
#+END_SRC
|
||||
|
||||
GitLab push options are documented [[https://docs.gitlab.com/ee/user/project/push_options.html][here]].
|
||||
|
||||
* Email
|
||||
|
||||
** Account configuration
|
||||
|
||||
This setting instructs =mu4e= to prompt for login credentials if none are found
|
||||
when trying to connect to one of the servers that match the regex (see variable
|
||||
documentation).
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq smtpmail-servers-requiring-authorization "smtp.migadu.com")
|
||||
#+end_src
|
||||
|
||||
Setup my main email account.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(set-email-account! "alarsyo.net"
|
||||
'((mu4e-sent-folder . "/alarsyo.net/Sent")
|
||||
(mu4e-drafts-folder . "/alarsyo.net/Drafts")
|
||||
(mu4e-refile-folder . "/alarsyo.net/Archive")
|
||||
(mu4e-trash-folder . "/alarsyo.net/Trash")
|
||||
(smtpmail-smtp-server . "smtp.migadu.com")
|
||||
(smtpmail-smtp-service . 465)
|
||||
(smtpmail-stream-type . ssl)
|
||||
(user-mail-address . "antoine@alarsyo.net")
|
||||
(user-full-name . "Antoine Martin")
|
||||
(mu4e-compose-signature . "Antoine Martin"))
|
||||
t)
|
||||
#+end_src
|
||||
|
||||
** Disable =org-msg= by default
|
||||
|
||||
Doom adds a hook, making it impossible to disable. This allows us to toggle it
|
||||
manually.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(remove-hook! mu4e-compose-pre #'org-msg-mode)
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue