From: pierre@baillet.name (Pierre Baillet)
Subject: [sup-talk] [PATCH] before-edit hook
Date: Tue, 13 Nov 2007 23:44:01 +0100 [thread overview]
Message-ID: <6205b42d0711131444w6d4a397buad33dad9ba4ded5@mail.gmail.com> (raw)
Hi,
Please find here the patch for the before-edit hook. It enables you to alter
the headers and the body before editing an email. I'm using it to
automically Bcc me.
Sample hook : before-edit.rb
--->8-----8<------
header["Bcc"] = "pierre at baillet.name"
--->8-----8<------
Not sure sending the body to the hook is useful though.
HTH !
--
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071113/976d943b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before_edit_hook_sup.patch
Type: application/octet-stream
Size: 802 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071113/976d943b/attachment.obj
next reply other threads:[~2007-11-13 22:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 22:44 Pierre Baillet [this message]
2007-11-14 0:07 ` Christopher Warrington
2007-11-14 16:44 ` William Morgan
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=6205b42d0711131444w6d4a397buad33dad9ba4ded5@mail.gmail.com \
--to=pierre@baillet.name \
/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