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

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

Re: Sending mail/news through gmail (again)


From: Rodolfo Medina
Subject: Re: Sending mail/news through gmail (again)
Date: Thu, 13 Apr 2006 16:34:00 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Mr. Big" <andersjak@gmail.com> writes:

> Hi,
> I am using emacs 22.0.50.1 and gnus v5.11 and want to use gnus to send
> mail and news. I have added the following to .gnus.el
>
> [snip]
>
> It gets as far as asking me for SMTP password but then gives me an
> error:
>
> Loading gnus-topic...done
> Sending...
> Sending via mail...
> Loading smtpmail...done
> Loading mailalias...done
> SMTP password for smtp.gmail.com:587:
> SMTP password for smtp.gmail.com:587: .
> SMTP password for smtp.gmail.com:587: ..
> SMTP password for smtp.gmail.com:587: ........
> smtpmail-send-it: Sending failed; SMTP protocol error
>
> Perhaps it just doesnt work with gmail?
>
> sincerely



I'm reporting the procedure I followed: I came to it with the thread
`Configuring gnus for gmail' on the present newsgroup: see

http://groups.google.com/group/gnu.emacs.gnus/browse_frm/thread/354ae098fe8476ac/a76bfac57a60481e?q=configuring+gnus+for+gmail&rnum=1#a76bfac57a60481e

. You need both emacs cvs and gnus cvs, and also the packages libgcrypt
and gnutls.

Cheers,
Rodolfo




;;; Mini how-to: gnus and gmail ;;;;;;;;;;;;;;;;;;;

I downloaded and installed emacs cvs;

from
ftp://ftp.gnupg.org/gcrypt/libgpg-error 
I downloaded libgpg-error-1.1.tar.gz and installed it the usual way; 

from 
ftp://ftp.gnupg.org/gcrypt/libgcrypt/ 
I downloaded libgcrypt-1.2.2.tar.gz and installed it the usual way; 
 
from 
http://www.gnu.org/software/gnutls/ 
I downloaded gnutls-1.2.9.tar.bz2 and installed it the usual way; 
 
from 
http://cvs.m17n.org/viewcvs/*checkout*/root/gnus/lisp/pop3.el?only_with_tag=t-gnus-6_17-quimby&rev=1.6.30.21.4.16
I fetched the file pop3.el, put it in '~/' and did:
$ cd ~/gnus/lisp
$ mv pop3.el pop3.el-original
$ cp ~/pop3.el pop3.el
;

I downloaded and installed gnus cvs (?);

in .gnus.el I put the following stuff:


------------------------------------------------------------------------
; The following line is needed when using pop3.el from T-gnus (m17n.org).
(eval-after-load "mail-source" '(require 'pop3))

(setq user-full-name "Rodolfo Medina")
(setq user-mail-address "rodolfo.medina@gmail.com")

(setq mail-sources '((pop :server "pop.gmail.com"
                          :port 995
                          :user "rodolfo.medina"
                          :connection ssl
                          :leave t)))

; Sending mail
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)))
(setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 
"rodolfo.medina@gmail.com" nil)))
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)
---------------------------------------------------------------------------------------


reply via email to

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