(Emacs/app)~fix some issues with smtpmail

Need to set it up before using it, so I can't lazy load the configuration.
This commit is contained in:
2023-10-15 00:08:38 +01:00
parent 1e72776578
commit ef80c792b6

View File

@@ -130,7 +130,7 @@ integrate it into my workflow just a bit better.
"f" #'+mail/flag-thread) "f" #'+mail/flag-thread)
:init :init
(defconst +mail/signature "---------------\nAryadev Chavali") (defconst +mail/signature "---------------\nAryadev Chavali")
(defconst +mail/local-dir (concat user-emacs-directory ".mail/")) (defconst +mail/local-dir (no-littering-expand-var-file-name "mail/"))
(setq notmuch-show-logo nil (setq notmuch-show-logo nil
notmuch-search-oldest-first nil notmuch-search-oldest-first nil
notmuch-hello-sections '(notmuch-hello-insert-saved-searches notmuch-hello-sections '(notmuch-hello-insert-saved-searches
@@ -169,15 +169,15 @@ integrate it into my workflow just a bit better.
** Smtpmail ** Smtpmail
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package smtpmail (use-package smtpmail
:after notmuch :straight nil
:commands mail-send :commands mail-send
:custom
(smtpmail-smtp-server "mail.aryadevchavali.com")
(smtpmail-smtp-user "aryadev")
(smtpmail-smtp-service 587)
(smtpmail-stream-type 'starttls)
:init :init
(setq send-mail-function #'smtpmail-send-it (setq-default
smtpmail-smtp-server "mail.aryadevchavali.com"
smtpmail-smtp-user "aryadev"
smtpmail-smtp-service 587
smtpmail-stream-type 'starttls
send-mail-function #'smtpmail-send-it
message-send-mail-function #'smtpmail-send-it)) message-send-mail-function #'smtpmail-send-it))
#+end_src #+end_src
* Dired * Dired