emacs: Initial mail settings
This commit is contained in:
parent
f2c32a12be
commit
b65611db02
1 changed files with 18 additions and 0 deletions
18
emacs.d/init-mail.el
Normal file
18
emacs.d/init-mail.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
(require 'gnus)
|
||||
|
||||
(setq gnus-select-method '(nnimap "gmail"
|
||||
(nnimap-address "imap.gmail.com")
|
||||
(nnimap-server-port 993)
|
||||
(nnimap-stream ssl)))
|
||||
|
||||
(setq message-send-mail-function 'smtpmail-send-it
|
||||
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
|
||||
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "vincent@spotify.com" nil))
|
||||
smtpmail-default-smtp-server "smtp.gmail.com"
|
||||
smtpmail-smtp-server "smtp.gmail.com"
|
||||
smtpmail-smtp-service 587
|
||||
smtpmail-local-domain "spotify.com")
|
||||
|
||||
;; Make Gnus NOT ignore [Gmail] mailboxes
|
||||
(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
|
||||
|
Loading…
Reference in a new issue