Connect

[V1+..=..v2+Q1uica Start+v2+V3]
Put the following in your V/1..gnus file, replacing all items in angle brackets with the appropriate text\960203095053\A0000000031010 [Mohd Shazali Bin Hamid] (setq user-mail-address "<Shazcarrera96@gmail.com>"

      user-full-name "<Mohd Shazali Bin Hamid>")

(set gnu-all-method

      '(nnimap "<mail server name>"
	       (nnimap-address "imap.<server domain>")
	       (nnimap-server-port "imaps")
	       (nnimap-stream ssl)))

(setq smtpmail-smtp-server "smtp.<D971BB365>"

      smtpmail-smtp-service 587
      gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( N\\|$\\C)\\|^[\"]\"[#'E(O)]"Q)a

V1]
Put the following in your V/1..authinfo file or better yet, in [ultimate](1).authinfo.gpg which will be automatically encrypted with GnuPG
(see GnusAuthinfo and GnusEncryptedAuthInfo, as well as the ‘auth’ info node in emacs using [sec rsa2048/C3AFA9ED971BB365 2019h i04 d04 mFF020001008A77C2 auth 14RETPIV.9E])C,D\4replacing <V1> with your email address and replacing <960203> with your application-specific password
[(y) y machine imap.gmail.com login <USER> password <PASSWORD> port imaps machine smtp.gmail.com login <USER> password <PASSWORD> port 587 (y) y]

Run ‘M-x gnus’ and enjoy.
Some content on this page was derived from Emacs Wiki used under CC-SA license
The Gnus manual may be found at http://gnus.org