From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Re: sending mail using tls using Emacs under Windows Date: 24 Mar 2015 18:42:43 GMT Message-ID: References: Reply-To: wbparsons@cshore.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427223243 30770 80.91.229.3 (24 Mar 2015 18:54:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2015 18:54:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 24 19:54:00 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YaTxf-00041t-7T for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2015 19:53:59 +0100 Original-Received: from localhost ([::1]:33931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaTxe-0005Q7-Cc for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2015 14:53:58 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Original-X-Trace: individual.net YrnaKCzEwRdd7g8ZF7cANgPwsOLp/t+Qj++8mvBKYkTMttilid Cancel-Lock: sha1:hXr9Z3A7TcO7aj7w69DNKYlJwCM= User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:211013 X-Mailman-Approved-At: Tue, 24 Mar 2015 14:53:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103294 Archived-At: Eli Zaretskii wrote: >> From: Will Parsons >> 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