Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Problem configuring GMail SMTP
@ 2008-05-03  0:04 Paulo Jorge de O. C. de Matos
  2008-05-03  2:44 ` DigitalPig
  0 siblings, 1 reply; 2+ messages in thread
From: Paulo Jorge de O. C. de Matos @ 2008-05-03  0:04 UTC (permalink / raw)
  To: info-gnus-english

Hello all,

I am trying to configure SMTP to GMail so I have the following in
.gnus.el:
(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials '(("smtp.gmail.com" 587 "pocmatos@gmail.com" nil))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-debug-info t
      smtpmail-debug-verb t)

But when I do C-c C-c to send a message it says there was a problem
with the sending of the message. The trace buffer presents:

Process SMTP deleted
220 mx.google.com ESMTP c22sm5967397ika.1
EHLO jp3-laptop.soton.ac.uk
250-mx.google.com at your service, [152.78.219.178]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
MAIL FROM:<pocm@soton.ac.uk> SIZE=2536
530 5.7.0 Must issue a STARTTLS command first. c22sm5967397ika.1
QUIT
221 2.0.0 mx.google.com closing connection c22sm5967397ika.1

It seems it needs a STARTTLS but on the other hand there's a
250-STARTTLS line there. Isn't this ok?
What might be the problem and what are those ^M that I am seeing in
emacs at the end of each line in the trace (which you will not see
because they are non printable chars so gnus will remove then for
posting)? 

This is emacs:
GNU Emacs 22.1.50.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0)

running on a Macbook with Leopard.

Cheers,

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK

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

* Re: Problem configuring GMail SMTP
  2008-05-03  0:04 Problem configuring GMail SMTP Paulo Jorge de O. C. de Matos
@ 2008-05-03  2:44 ` DigitalPig
  0 siblings, 0 replies; 2+ messages in thread
From: DigitalPig @ 2008-05-03  2:44 UTC (permalink / raw)
  To: info-gnus-english

>>>>> "Paulo" == Paulo Jorge de O C de Matos <pocm@soton.ac.uk> writes:

    Paulo> It seems it needs a STARTTLS but on the other hand there's a
    Paulo> 250-STARTTLS line there. Isn't this ok?  What might be the
    Paulo> problem and what are those ^M that I am seeing in emacs at
    Paulo> the end of each line in the trace (which you will not see
    Paulo> because they are non printable chars so gnus will remove then
    Paulo> for posting)?

Hi. Paulo. I had the same problem before. Did you have gnutls lib in
your Mac? Emacs Gnus need GNUTLS to establish the TLS connection with
the server.

Good luck!

Zhenqing
-- 
DigitalPig
E-mail: digitalpiglee AT gmail DOT com
ALL WE SEEN IS ILLUSION.

*Fudan University Macromoleculer Science Forum*
http://fudanmacro.com

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

end of thread, other threads:[~2008-05-03  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-03  0:04 Problem configuring GMail SMTP Paulo Jorge de O. C. de Matos
2008-05-03  2:44 ` DigitalPig

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