Gnus development mailing list
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: ding@gnus.org
Subject: Re: How to know a mail is sent with gnus ?
Date: Mon, 14 Feb 2011 09:05:21 +0100	[thread overview]
Message-ID: <m2r5bbkpmm.fsf@gmail.com> (raw)
In-Reply-To: <m2ei7bfq7o.fsf@igel.home> (Andreas Schwab's message of "Mon, 14 Feb 2011 00:51:39 +0100")

Andreas Schwab <schwab@linux-m68k.org> writes:

> Francis Moreau <francis.moro@gmail.com> 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.

-- 
Francis



  reply	other threads:[~2011-02-14  8:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 20:07 Francis Moreau
2011-02-13 20:20 ` Tassilo Horn
2011-02-13 21:32   ` Francis Moreau
2011-02-14  7:28     ` Tassilo Horn
2011-02-14  7:55       ` Francis Moreau
2011-02-13 23:51 ` Andreas Schwab
2011-02-14  8:05   ` Francis Moreau [this message]
2011-02-15  1:03     ` Dave Goldberg
2011-02-15  7:59       ` Francis Moreau
2011-02-15 22:36         ` Dave Goldberg
2011-02-19 11:15           ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r5bbkpmm.fsf@gmail.com \
    --to=francis.moro@gmail.com \
    --cc=ding@gnus.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).