[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to fetch mail from gmail?
From: |
sunway |
Subject: |
how to fetch mail from gmail? |
Date: |
Fri, 10 Aug 2007 09:39:03 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
this is my configution:
(setq gnus-secondary-select-methods '((nnfolder "")))
(require 'smtpmail)
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
smtpmail-auth-credentials `(("smtp.gmail.com" 587
"sunwayforever@gmail.com" "pass")))
(require 'starttls)
(setq smtpmail-starttls-credentials
'(("smtp.gmail.com" 587 nil nil)))
(setq mail-sources
'((pop :server "pop.gmail.com"
:user "sunwayforever"
:password "pass"
:port 995
:connection ssl
:leave t)))
when start gnus, it will hang when fetching mail from pop.gmail.com.
--
signature:
If there is a sin against life, it consists perhaps not so much in despairing
of life as in hoping for another life and in eluding the implacable grandeur
of this life.
-- Albert Camus
- how to fetch mail from gmail?,
sunway <=