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?


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

Reply via email to