[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmail + imap - hangs when sending
From: |
dhg::Newsfork |
Subject: |
Re: gmail + imap - hangs when sending |
Date: |
Mon, 19 Jan 2009 12:37:51 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) |
Sebastian Schubert <schubert.seb@googlemail.com> writes:
> 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
It seems this piece of elisp code will work on some OSes but not on
other OSes such as OpenSolaris. It is because gnutls is not default on
these platforms?
--
darcsis ZAI gmail DIAN com