Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Sending mail/news through gmail (again)
@ 2006-04-13  8:24 Mr. Big
  2006-04-13 14:34 ` Rodolfo Medina
  2006-04-16  8:53 ` Xiaodong Xu
  0 siblings, 2 replies; 4+ messages in thread
From: Mr. Big @ 2006-04-13  8:24 UTC (permalink / raw)


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

;; 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 "mail name"
nil)))
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sending mail/news through gmail (again)
  2006-04-13  8:24 Sending mail/news through gmail (again) Mr. Big
@ 2006-04-13 14:34 ` Rodolfo Medina
  2006-04-13 15:33   ` Mr. Big
  2006-04-16  8:53 ` Xiaodong Xu
  1 sibling, 1 reply; 4+ messages in thread
From: Rodolfo Medina @ 2006-04-13 14:34 UTC (permalink / raw)


"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)
---------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sending mail/news through gmail (again)
  2006-04-13 14:34 ` Rodolfo Medina
@ 2006-04-13 15:33   ` Mr. Big
  0 siblings, 0 replies; 4+ messages in thread
From: Mr. Big @ 2006-04-13 15:33 UTC (permalink / raw)


Basically, I can see that my set up is OK. You wouldn't know if it
works on "the other" OS (WinXP)?

I'll give it another try.

Thanks!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sending mail/news through gmail (again)
  2006-04-13  8:24 Sending mail/news through gmail (again) Mr. Big
  2006-04-13 14:34 ` Rodolfo Medina
@ 2006-04-16  8:53 ` Xiaodong Xu
  1 sibling, 0 replies; 4+ messages in thread
From: Xiaodong Xu @ 2006-04-16  8:53 UTC (permalink / raw)


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

my gnus works fine with gmail.
besides the .gnus configuration file, the only thing you need to
do is to install gnutls-bin under linux.
i don't know how to get it work  under winxp.

> 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
>
> ;; 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 "mail name"
> nil)))
> (setq smtpmail-default-smtp-server "smtp.gmail.com")
> (setq smtpmail-smtp-server "smtp.gmail.com")
> (setq smtpmail-smtp-service 587)
>
> 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
>

-- 
.:: http://learn.tsinghua.edu.cn:8080/981852 ::.
.:: http://stid.blogchina.com ::.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-16  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13  8:24 Sending mail/news through gmail (again) Mr. Big
2006-04-13 14:34 ` Rodolfo Medina
2006-04-13 15:33   ` Mr. Big
2006-04-16  8:53 ` Xiaodong Xu

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).