Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Reading Bcc list and distribution list in Transport agent

$
0
0

Hi,

I am writing a routing agent for exchange 2010.

I am reading email properties like subject, body, cc, bcc ,to list etc. I am using

RoutingAgent and OnRoutedMessageHandler method where I get args.MailItem in this there is Recipient property where I get all bcc,cc and To list as combined and with distribution list expanded.

I also get args.MailItem.Message and this is of EmailMessage type and here I always get Bcc as null and in cc and To list I don't get distribution list expanded. I have two questions

  1.  How to get Bcc in EmailMessage
  2. How to expand the distribution list from EmailMessage. To list where I get distribution list email address.

Regards,

ABhagwat


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>