From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79349 Path: news.gmane.org!not-for-mail From: Adrian Lanz Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail embedded into fedmail Date: Sun, 03 Jul 2011 16:35:54 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309703834 2730 80.91.229.12 (3 Jul 2011 14:37:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 14:37:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27645@lists.math.uh.edu Sun Jul 03 16:37:04 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdNnC-0006Jo-GP for ding-account@gmane.org; Sun, 03 Jul 2011 16:37:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QdNmS-0000sp-Tq; Sun, 03 Jul 2011 09:36:16 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QdNmR-0000sg-Dz for ding@lists.math.uh.edu; Sun, 03 Jul 2011 09:36:15 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QdNmM-0004uE-VO for ding@lists.math.uh.edu; Sun, 03 Jul 2011 09:36:15 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QdNmJ-0006ne-DV for ding@gnus.org; Sun, 03 Jul 2011 16:36:07 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QdNmJ-00061L-9Y for ding@gnus.org; Sun, 03 Jul 2011 16:36:07 +0200 Original-Received: from public.wsl.ch ([193.134.202.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2011 16:36:07 +0200 Original-Received: from lanz by public.wsl.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2011 16:36:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: public.wsl.ch User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:3tMWP/IVkIZ0wEW4zRQEyTc9VIM= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79349 Archived-At: >>>>> On Sun, 03 Jul 2011 15:11:13 +0200 >>>>> Lars Magne Ingebrigtsen writes: > No, that's wrong. A non-nil return value means that sending > failed... Thanks!!! But, is this new? Because when smtpmail-via-smtp returns a nil value after successful sending via smtp protocol, feedmail seems to write out an error message?! Below the relevant part within feedmail? Is this the "I will fear no evil" thingy? Adrian. (defun feedmail-buffer-to-smtpmail (prepped errors-to addr-listoid) "Function which actually calls `smtpmail-via-smtp' to send buffer as e-mail." ;; I'm not sure smtpmail.el is careful about the following ;; return value, but it also uses it internally, so I will fear ;; no evil. (feedmail-say-debug ">in-> feedmail-buffer-to-smtpmail %s" addr-listoid) (require 'smtpmail) (if (not (smtpmail-via-smtp addr-listoid prepped)) (progn (set-buffer errors-to) (insert "Send via smtpmail failed. Probable SMTP protocol error.\n") (insert "Look for details below or in the *Messages* buffer.\n\n") [...]