Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: sunway <sunwayforever@gmail.com>
To: info-gnus-english@gnu.org
Subject: how to fetch mail from gmail?
Date: Fri, 10 Aug 2007 09:39:03 +0800	[thread overview]
Message-ID: <87myx0uq14.fsf@gmail.com> (raw)

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

             reply	other threads:[~2007-08-10  1:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10  1:39 sunway [this message]
2007-08-10 17:14 ` Exal de Jesus Garcia Carrillo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87myx0uq14.fsf@gmail.com \
    --to=sunwayforever@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).