help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: sending mail using tls using Emacs under Windows


From: Will Parsons
Subject: Re: sending mail using tls using Emacs under Windows
Date: 24 Mar 2015 18:42:43 GMT
User-agent: slrn/1.0.1 (Linux)

Eli Zaretskii wrote:
>> From: Will Parsons <varro@nodomain.invalid>
>> Date: 23 Mar 2015 21:55:52 GMT
>> 
>> I'd like to be able to send mail using Emacs 24.2.1 under Windows and
>> am having difficulties.  With the following in my .emacs file:
>> 
>> (setq
>>  send-mail-function 'smtpmail-send-it
>>  smtpmail-smtp-server "smtp.gmail.com"
>>  smtpmail-smtp-service 587)
>> 
>> and a suitable entry in .authinfo:
>> 
>>  machine smtp.gmail.com login xxxx@gmail.com port 587 password xxxxx
>> 
>> attempting to send a message using the default method "Gnus Message"
>> results in:
>> 
>>  smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS
>>  command first. y142sm1414876iod.25 - gsmtp
>> 
>> Looking under Options => Packages, I see that gnutls is built-in, but
>> running gnutls-available-p returns nil.
>> 
>> Am I missing something?
>
> I'm guessing you didn't install the GnuTLS library.  Your Emacs was
> built with it, but it looks for it at run time and doesn't find it.
>
> Try installing from here:
>
>   
> http://sourceforge.net/projects/ezwinports/files/gnutls-3.3.11-w32-bin.zip/download


OK - I kind of assumed that if gnutls was "built-in" it was already
available, but I guess that's not what "built-in" means?

Anyway, I downloaded it and installed it under c:\ezwinports, and then
added c:\ezwinports\bin to the Windows path.

Now running gnutls-available-p returns t, but I still get the "Must
issue a STARTTLS command first" message when I try to send mail.  Is
there something else I have to configure?

-- 
Will


reply via email to

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