From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: sending mail using tls using Emacs under Windows Date: Tue, 24 Mar 2015 05:38:30 +0200 Message-ID: <83a8z3qd3d.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427168351 2197 80.91.229.3 (24 Mar 2015 03:39:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2015 03:39:11 +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 04:39:02 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 1YaFgB-0006wZ-MY for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2015 04:38:59 +0100 Original-Received: from localhost ([::1]:58920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaFgA-00026J-Ui for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 23:38:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaFfz-00026A-Tt for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 23:38:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaFfw-0001Xo-Or for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 23:38:47 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:47834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaFfw-0001Xa-Gq for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 23:38:44 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NLP009005QBMA00@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Mar 2015 05:39:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLP002HA661PN60@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Mar 2015 05:39:37 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 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:103281 Archived-At: > 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