From mboxrd@z Thu Jan 1 00:00:00 1970 From: pierre@baillet.name (Pierre Baillet) Date: Tue, 13 Nov 2007 23:44:01 +0100 Subject: [sup-talk] [PATCH] before-edit hook Message-ID: <6205b42d0711131444w6d4a397buad33dad9ba4ded5@mail.gmail.com> 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 -------------- 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