help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: emacs and gmail


From: Parker, Matthew
Subject: RE: emacs and gmail
Date: Thu, 25 Sep 2008 12:50:09 -0400

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 "JSMITH@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.com@gnu.org
[mailto:help-gnu-emacs-bounces+mparker=seic.com@gnu.org] On Behalf Of
aidy lewis
Sent: Thursday, September 25, 2008 12:24 PM
To: help-gnu-emacs@gnu.org
Subject: emacs and gmail

Hi,

Is it possible to run my gmail account through emacs.

Aidy






reply via email to

[Prev in Thread] Current Thread [Next in Thread]