info-gnus-english
[Top][All Lists]
Advanced

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

Re: How to access email using gnus?


From: Tim McNamara
Subject: Re: How to access email using gnus?
Date: Tue, 21 Dec 2004 13:18:48 -0600
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin)

Surendra Singhi <efuzzyone@netscape.net> writes:

> I have gone through that document, and the manual as well, but I am
> still not able to figure out how to configure gnus.
>
> As I mentioned in my first email I am able to use the newsreader, but
> not get emails.
> I have put the following line in my init file(it is a pop3 server and
> not imap) and as well set it trhough the customization option in
> xemacs.
>
> (setq mail-sources '((pop :server "imap1.asu.edu"
>                                 :user "sksinghi"
>                                 )))
> But gnus still doesn't shows me anything.

OK, setting up mail is similar to setting up newsgroups.  Gnus treats
mail in basically the same way as NNTP postings.  Here's what's in my
.gnus file, obfuscated and you'll have to plug in your own values:

(add-to-list 'gnus-secondary-select-methods '(nnml ""))
(eval-after-load "mail-source"
 '(add-to-list 'mail-sources '(pop :server "pop.myisp.com"
                                   :user "myusername"
                                   :password "mypassword")))
(require 'smtpmail)
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-smtp-server "smtp.myisp.com")
(setq smtpmail-auth-credentials
      '(("smtp.myisp.com" 25 "myloginname" "mypassword")))

Also, you want to set your email address for the FROM: header, etc:

(setq user-full-name "Your name")
(setq user-mail-address "youremailaddress")


reply via email to

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