info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmail + imap - hangs when sending


From: Paul Mead
Subject: Re: gmail + imap - hangs when sending
Date: Tue, 20 Jan 2009 08:13:05 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)

darcsis@gmail.com (dhg::Newsfork) writes:

> 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?

I'm not sure about OpenSolaris, etc. I have checked that gnutls is
installed and gnutls-cli allows me to at least connect to gmail, but I
don't know enough TLS commands to be able to walk through a complete
send manually.

Paul





reply via email to

[Prev in Thread] Current Thread [Next in Thread]