Advertisement
Guest User

Untitled

a guest
Sep 30th, 2017
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (use-package gnus
  2.   :config
  3.   (setq gnus-select-method
  4.     '(nnimap "gmail"
  5.          (nnimap-address "imap.googlemail.com")
  6.          ;; it could also be imap.googlemail/gmail.com if that's your server.
  7.          (cond ;; If windows do this.
  8.           ((string-equal system-type "windows-nt")
  9.            (progn
  10.              (nnimap-server-port 993)
  11.              )))
  12.          (cond ;; If linux do this
  13.           ((string-equal system-type "gnu/linux")
  14.            (progn
  15.              (nnimap-server-port "imap")
  16.              )))
  17.          (nnimap-stream ssl)))
  18.   (setq smtpmail-smtp-server "smtp.googlemail.com"
  19.     smtpmail-smtp-service 587
  20.     gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
  21.   )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement