I am trying to create a TransportAgent
that reroutes an internal email to a remote server for further processing, but the email comes over in Microsoft's internal TNEF format (no content conversion is being applied). I would like it to be in the same format that would be used if the email was going to an external recipient.
I am currently using a RoutingAgent
to reroute the internal emails to the remote server. If someone can explain why this happens in terms of the Categorizer's pipeline, that would be very helpful too, even if I can't avoid it. This agent will be implemented for both Exchange 2010 and 2013, in case the answer differs based on the version of Exchange.
Exemple using reflexion ItemConversion.convertAnyMimeToMimeMethod method