[email protected] (dhg::Newsfork) writes:

> Sebastian Schubert <[email protected]> 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 [email protected] 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



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to