summary refs log tree commit diff
diff options
context:
space:
mode:
authorTerin Stock <terinjokes@gmail.com>2022-07-19 11:45:56 -0700
committerTerin Stock <terinjokes@gmail.com>2022-07-19 11:48:40 -0700
commit607c56e3280635cd52671725dae558f79311aa16 (patch)
treecf07ef25da7d797732d03830447a106473674e1c
parenta3d213a25a7b94f0ce26599b8f766beaf0a82909 (diff)
gnus: set sendmail program
-rw-r--r--gnus.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnus.el b/gnus.el
index ef89dee..5272033 100644
--- a/gnus.el
+++ b/gnus.el
@@ -11,6 +11,10 @@
 
 (setq gnus-select-method '(nnnil "")
       gnus-secondary-select-methods '((nnmaildir "Maildir" (directory "/home/terin/.nnmaildir"))))
+
+(setq sendmail-program "msmtp"
+      send-mail-function 'sendmail-send-it)
+
 (defun =gnus ()
   "Activate `gnus' in its workspace."
   (interactive)