Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rodolfo Medina <rodolfo.medina@gmail.com>
Subject: Re: Sending mail/news through gmail (again)
Date: Thu, 13 Apr 2006 16:34:00 +0200	[thread overview]
Message-ID: <m2fykhzgrr.fsf@gmail.com> (raw)
In-Reply-To: <1144916698.859845.126280@u72g2000cwu.googlegroups.com>

"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	other threads:[~2006-04-13 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13  8:24 Mr. Big
2006-04-13 14:34 ` Rodolfo Medina [this message]
2006-04-13 15:33   ` Mr. Big
2006-04-16  8:53 ` Xiaodong Xu

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=m2fykhzgrr.fsf@gmail.com \
    --to=rodolfo.medina@gmail.com \
    /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).