From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: Please excuse this XEmacs user's desperation: smtpmail.el over SSL Date: Tue, 30 Mar 2010 18:33:41 +0200 Organization: FH-Trier Message-ID: <87hbnx22hm.fsf@fh-trier.de> References: <3af47939-f589-4102-8b84-6724f8a18e1e@y17g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273000970 19137 80.91.229.12 (4 May 2010 19:22:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 19:22:50 +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 May 04 21:22:48 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9Nhc-0004w8-Pw for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 21:22:45 +0200 Original-Received: from localhost ([127.0.0.1]:60338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Nhc-0004V5-0F for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 15:22:44 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1269966956 21249 143.93.54.11 (30 Mar 2010 16:35:56 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Tue, 30 Mar 2010 16:35:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:eLKF0OzGjbiHqhZ2cR3VvtVOiwo= Cache-Post-Path: arno.fh-trier.de!unknown@dslb-084-059-219-228.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: usenet.stanford.edu gnu.emacs.help:177607 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73086 Archived-At: edburns writes: > (defun smtpmail-open-stream (process-buffer host port) > (let ((cred (smtpmail-find-credentials > smtpmail-starttls-credentials host port))) ===> (if (null (and cred (condition-case () > ;; XEmacs change > (with-boundp '(starttls-use-gnutls > starttls-gnutls-program > starttls-program) > (require 'starttls) > (call-process (if starttls-use-gnutls > starttls-gnutls-program > starttls-program))) > (error nil)))) > ;; The normal case. > => (open-network-stream "SMTP" process-buffer host port) > (let* ((cred-key (smtpmail-cred-key cred)) > (cred-cert (smtpmail-cred-cert cred)) > host is stbeehive.oracle.com > port is 465 > Can anyone help me here? I mean, open-network-stream is just opening > a simple TCP connection. That happens before SSL is established, > right? > Either `cred' is unbound at this point, or there is an error inside the condition-case. So the questions are : a) What is the value of `cred' ? b) What happens (error or not) if you remove the condition-case from this function ? > Can anyone please help? > -ap > Sincerely, > > Ed Burns