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
- How to get Bcc in EmailMessage
- How to expand the distribution list from EmailMessage. To list where I get distribution list email address.
Regards,
ABhagwat