<div dir="ltr">On Wed, May 29, 2013 at 3:41 AM, Thomas Sibley <span dir="ltr"><<a href="mailto:trs@bestpractical.com" target="_blank">trs@bestpractical.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05/28/2013 03:58 PM, Riggle, Kevin wrote:<br>
> It looks like RT's MailPlugins are only for go/no-go filtering and<br>
> authentication, and aren't intended to be used to modify the body of the<br>
> message before it is made into a transaction.  (Or will changes to the<br>
> MIME::Entity be honored?)<br>
<br>
</div>MailPlugins which are "ApplyBeforeDecode" can completely alter the<br>
MIME::Entity, I believe.  Start reading the code in<br>
RT::Interface::Email::Gateway().<br></blockquote><div><br></div><div style>Either step can adjust MIME::Entity and actually ApplyBeforeDecode is not the right place. This stage is for plugins that want access to mail as it was including content transfer encoding.</div>
<div style><br></div><div style>What kind of defanging do you want to achieve?</div><div><br></div></div>-- <br>Best regards, Ruslan.
</div></div>