Sorry, FOSSCasts is no more. Read.

#26 GNUS, the News and Mail Reader for Emacs

GNUS is a great news reader built into Emacs. I've had some requests to do an episode on how to read mail from a Google Gmail account with it, so here it is.

I had the easiest time getting it all to work on Ubuntu 9.10, but as long as you have starttls you should be ok. Also, check out the Emacs Wiki for tons of great information - it is where I found most of what I needed for this episode.

Uploaded on Mar 05, 2010 | 8:21 | Tags: Emacs email gmail

Click to Play

# ~/.gnux
(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 "fosscasts@gmail.com" nil))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-smtp-domain "your.domain")

# ~/.authinfo
machine imap.gmail.com login you@gmail.com password password port 993
machine smtp.gmail.com login you@gmail.com password password port 587


If you enjoyed this episode, be sure to check out the newest Technicast on Apache2. All purchases support FOSSCasts.