Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

emacs and gmail

5 views
Skip to first unread message

aidy lewis

unread,
Sep 25, 2008, 12:24:02 PM9/25/08
to help-gn...@gnu.org
Hi,

Is it possible to run my gmail account through emacs.

Aidy


Charles Sebold

unread,
Sep 25, 2008, 12:27:06 PM9/25/08
to
On 25 Sep 2008, aidy lewis wrote:

> Is it possible to run my gmail account through emacs.

Yes. See the following:

http://www.emacswiki.org/cgi-bin/wiki/GnusGmail

If you're on Windows, you may benefit from this too:

http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP
--
Charles Sebold 25th of September, 2008

Parker, Matthew

unread,
Sep 25, 2008, 12:50:09 PM9/25/08
to aidy lewis, help-gn...@gnu.org
Yes. Based on reading a few web sites on this subject - and there are
quite a few out there - I got emacs22 on WinXP working w/ my ISPs
(Verizon, but there is a gmail related link below) POP3 and SMTP
servers.

If you are on Windows you need a separate install (gnutls4win) to help
authenticate the outgoing connection. The file I used is
gnutls-2.5.5.exe on this site http://josefsson.org/gnutls4win/.

So what worked for me was:
1. run the installer gnutls-2.5.5
2. configure .emacs as per below (replace ids and passwords)
3. Run M-x RMAIL to retrieve mail (you should be prompted for password)

Here's a site is gmail specific (the use different servers and ports I
believe)
http://argandgahandapandpa.wordpress.com/2008/04/27/sending-mail-through
-gmail-using-emacs/

;*** email

; * steps to get email working...
; * install gnutls - external required program...
; * add following to emacs

; incoming mail
(setenv "MAILHOST" "incoming.verizon.net")
(setq rmail-primary-inbox-list '("po:JSMITH"))
(setq rmail-pop-password-required t)

; outgoing mail
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials
'(("outgoing.verizon.net" 25 "JSMITH" "password")) ; was nil nil
smtpmail-auth-credentials
'(("outgoing.verizon.net" 25 "JSMITH" "password")) ; was nil
smtpmail-default-smtp-server "outgoing.verizon.net"
smtpmail-smtp-server "outgoing.verizon.net"
smtpmail-smtp-service 25
smtpmail-debug-info t)
(setq user-full-name "John SMith")
(setq user-mail-address "JSM...@verizon.net")
(require 'smtpmail)

Matthew Parker

SEI | 1 Freedom Valley Drive | Oaks, PA 19456 | p: 610-676-1279 | f:
484-676-1279 | www.seic.com
-----Original Message-----
From: help-gnu-emacs-bounces+mparker=seic...@gnu.org
[mailto:help-gnu-emacs-bounces+mparker=seic...@gnu.org] On Behalf Of
aidy lewis
Sent: Thursday, September 25, 2008 12:24 PM
To: help-gn...@gnu.org
Subject: emacs and gmail

Hi,

Is it possible to run my gmail account through emacs.

Aidy


0 new messages