aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-11-14 13:02:00 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-11-14 13:02:00 +0100
commit6abe824a51fd246b503a9e7572f61f9a44ceb97d (patch)
tree0211e2a05c723c2874fd3a28c71c5c9df0ebfabf
parent02cca7642d0d37eb53bd38d7e0f4643ebbdc1004 (diff)
downloaddotfiles-6abe824a51fd246b503a9e7572f61f9a44ceb97d.tar.gz
dotfiles-6abe824a51fd246b503a9e7572f61f9a44ceb97d.tar.bz2
dotfiles-6abe824a51fd246b503a9e7572f61f9a44ceb97d.zip
email html from org
-rw-r--r--config/doom/config.org8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index 49ed583..39bf898 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -166,6 +166,8 @@ this new window.
** Notmuch
#+begin_src emacs-lisp :tangle "packages.el"
(package! notmuch :pin "3df2281746d57abbb45790ecb432ef40533c30bc")
+(package! org-mime :pin "eb21c02ba8f97fe69c14dc657a7883b982664649")
+(package! ol-notmuch :pin "126fb446d8fa9e54cf21103afaf506fd81273c02")
#+end_src
#+BEGIN_SRC emacs-lisp
(use-package! notmuch
@@ -266,6 +268,10 @@ this new window.
(if (member "deleted" (notmuch-tree-get-tags))
'("-deleted")
'("+deleted" "-inbox" "-unread"))))))
+
+(use-package! org-mime
+ :after (org notmuch)
+ :config (setq org-mime-library 'mml))
#+END_SRC
** Sending email
#+begin_src emacs-lisp
@@ -275,7 +281,7 @@ this new window.
smtpmail-local-domain "oscarnajera.com")
(defun set-smtp-server ()
- (let* ((default-smtp-conf '("default" "mail.oscarnajera.com" 587 starttls "hi"))
+ (let* ((default-smtp-conf '("mail.oscarnajera.com" 587 starttls "hi"))
(smtp-from-server-alist
'(("Oscar Najera <oscar.najera@tribe29.com>"
"mx.tribe29.com" 587 starttls "oscar.najera")