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