From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76647 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: How to know a mail is sent with gnus ? Date: Sun, 13 Feb 2011 22:32:02 +0100 Message-ID: References: <871v3bd6v9.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297632795 28283 80.91.229.12 (13 Feb 2011 21:33:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 21:33:15 +0000 (UTC) Cc: ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M24990@lists.math.uh.edu Sun Feb 13 22:33:11 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 1PojZ8-0001Hj-NS for ding-account@gmane.org; Sun, 13 Feb 2011 22:33:11 +0100 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 1PojYG-0003md-S6; Sun, 13 Feb 2011 15:32:16 -0600 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 1PojYF-0003mN-F9 for ding@lists.math.uh.edu; Sun, 13 Feb 2011 15:32:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PojYD-0003LB-B6 for ding@lists.math.uh.edu; Sun, 13 Feb 2011 15:32:15 -0600 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PojYC-0003C4-7o for ding@gnus.org; Sun, 13 Feb 2011 22:32:12 +0100 Original-Received: by fxm9 with SMTP id 9so4697353fxm.17 for ; Sun, 13 Feb 2011 13:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=VHvyVKhcuaRHIiLezPYVeOrtFC9anJz3Qckd8NQT3lg=; b=k+E1JYtXZsnlKt0EqSWqQcKOW25AMv51u9pdXqgBuT1ABKh7ignyGiz7QFahAvE7bn WmM9KI+zm6rsr002oom5I8kvhqR9X64UYuogwB8LaNzhbBsUls1+iYcXXllnD7hOaapv jpDDa5BNdnn/Xw5zepNMvIEmm3iFpS1WMWF/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=JAl/EYQnxDmFyrB41m4PFcm7DVAQJGuFeYYoHUduUmXPsMw7lhJvz//li9RlnzfpIQ 8kMZ1gfgzqVWM6+eTTANb8jFCPR6rYKKQMqs3h8vUL2ygvfcrUhrv/0T8Iyf/0Gnyvtd tYXuRecFTVNg8zsDfMijJnwN5ckcSSV/3j1L0= Original-Received: by 10.223.83.208 with SMTP id g16mr3557293fal.52.1297632726754; Sun, 13 Feb 2011 13:32:06 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id a2sm749764faw.46.2011.02.13.13.32.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Feb 2011 13:32:05 -0800 (PST) Mail-Followup-To: Tassilo Horn , ding@gnus.org In-Reply-To: <871v3bd6v9.fsf@member.fsf.org> (Tassilo Horn's message of "Sun, 13 Feb 2011 21:20:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76647 Archived-At: Tassilo Horn writes: > Francis Moreau writes: > >> I'm writing a hook for 'message-send-hook' and I would like to know >> from this hook if the current message has been sent by Gnus. > > Sent by Gnus in contrast to rmail, which also started using message-mode > recently, right? > You're right. > >> Could anybody tell me what I can test ? > > At least `org-gnus.el' checks for Message-Id and Gcc headers to store > links to Gnus messages that haven't been sent at the time of linking > yet. I might be wrong, but I think Gcc headers are a Gnus invention. > The thing is that I don't always use Gcc header. For mailing lists for example, I don't use it since I'm going to receive a copy of the mail anyways. Thanks -- Francis