how to use RoutingAgent return mail and approval mail.

Hi, All:

In RoutingAgent class , I have some custom logic judgment. For example:

  1. Need return mail.
  2. Need approval mail.
  3. Other

In Exchange SDK or API, I dont find return mail or approval mail . Have any good suggestions and comments. T

March 2nd, 2015 5:25am

1. see http://blogs.msdn.com/b/mstehle/archive/2010/03/10/howto-return-to-sender-transport-agent-sample.aspx

2. Moderation is probably what you want to do here https://technet.microsoft.com/en-AU/library/dd298007(v=exchg.150).aspx . There are no method or classes to use moderation in a Transport Agent one easy workaround is to just set something like an X-header using your Transport Agent and then create a Transport Rule that will moderate any messages that have that particular X-header. As long as your Transport Agent runs before the Transport Rules Agent you can easily pass the Messages you want into moderation that way.

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2015 11:18pm

Thanks, It's Cool. 
March 10th, 2015 9:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics