From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76776 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: How to know a mail is sent with gnus ? Date: Mon, 14 Feb 2011 20:03:07 -0500 Message-ID: <84ipwmt8hg.fsf@davestoy.home> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297731870 25485 80.91.229.12 (15 Feb 2011 01:04:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 01:04:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25116@lists.math.uh.edu Tue Feb 15 02:04:24 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 1Pp9L5-0008Ct-9Y for ding-account@gmane.org; Tue, 15 Feb 2011 02:04:23 +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 1Pp9KH-00068U-Vc; Mon, 14 Feb 2011 19:03:34 -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 1Pp9KG-00068G-Ln for ding@lists.math.uh.edu; Mon, 14 Feb 2011 19:03:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pp9KF-00012Q-92 for ding@lists.math.uh.edu; Mon, 14 Feb 2011 19:03:32 -0600 Original-Received: from vms173001pub.verizon.net ([206.46.173.1]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pp9KE-0005Ui-Au for ding@gnus.org; Tue, 15 Feb 2011 02:03:30 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LGM007M9W958SQ2@vms173001.mailsrvcs.net> for ding@gnus.org; Mon, 14 Feb 2011 19:03:07 -0600 (CST) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Francis Moreau's message of "Mon, 14 Feb 2011 09:05:21 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76776 Archived-At: > Andreas Schwab 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. >> >> Why do you need to know that? >> > Because I have this in my .emacs: > (setq mail-default-headers > (concat "Bcc: " user-mail-address "\n")) > that is I want to receive a copy of my emails sent from emacs but not by > gnus itself. > When writing stuff with Gnus, I prefer to use Gcc header. Therefore when > I'm writing email from Gnus, I want to drop the Bcc header automatically > set. Perhaps a call to message-remove-header in message-setup-hook will work? -- Dave Goldberg david.goldberg6@verizon.net