[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmail + imap - hangs when sending
From: |
Sebastian Schubert |
Subject: |
Re: gmail + imap - hangs when sending |
Date: |
Sat, 17 Jan 2009 22:36:30 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) |
Hi,
* On Thursday, Jan 15 2009 13:40 CET, Paul Mead wrote:
> (setq starttls-use-gntls t)
>
> (setq send-mail-function 'smtpmail-send-it
> message-send-mail-function 'smtpmail-send-it
> smtpmail-starttls-credentials
> '(("smtp.gmail.com" 587 nil nil))
> smtpmail-auth-credentials
> (expand-file-name "~/.authinfo")
> smtpmail-default-smtp-server "smtp.gmail.com"
> smtpmail-smtp-server "smtp.gmail.com"
> smtpmail-smtp-service 587
> smtpmail-debug-info t)
I'm not really an expert, but this works for me:
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-starttls-credentials
'(("smtp.gmail.com" 587 nil nil)))
(setq smtpmail-smtp-service 587)
(setq smtpmail-auth-credentials
"~/.authinfo")
and in authinfo:
machine smtp.gmail.com login thename@gmail.com password ALMOSTGOTME port 587
Hope this helps
Sebastian