summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-11-01 14:07:17 +0100
committerLLoyderino <adrijan.bjedov@gmail.com>2025-11-01 14:10:30 +0100
commit26ddea643ae5f7f6521f5039803ae1a2a1cc4f3f (patch)
tree2d8b24848621b520b4bf1e2c51074ea94b906af5 /init.el
parent0b7289595c3b9490f5fd7219031eec01b61649ba (diff)
Configured Gnus for mail sending
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el
index 500347d..c044d85 100644
--- a/init.el
+++ b/init.el
@@ -111,6 +111,14 @@
:config
(org-roam-db-autosync-mode))
+;; Mail
+(load (locate-user-emacs-file "secrets.el")) ; Full-name and Mail address
+(setq gnus-select-method '(nnimap "imap.gmail.com")
+ message-send-mail-function 'smtpmail-send-it
+ smtpmail-default-smtp-server "smtp.gmail.com"
+ gnus-message-archive-method '(nnimap "imap.gmail.com")
+ gnus-message-archive-group "[Gmail]/Sent Mail") ; Gmail configuration
+
;; Undo
(use-package vundo
:custom