get outlook UserProperties in RoutingAgent

Similar question: Where are the UserProperty?

In outlook add-in FormRegion1_FormRegionShowingMethod, I write code:

mailItem = ((Microsoft.Office.Tools.Outlook.FormRegionControl)sender).OutlookItem as Outlook.MailItem;

mailItem.UserProperties.Add(USERLEVEL, Outlook.OlUserPropertyType.olText, Type.Missing, Type.Missing);

I want in RoutingAgent class get the UserProperties (USERLEVEL), Have any good suggestions and comments. Thanks!

February 13th, 2015 2:43am

Courtesy of Glen Scales: http://gsexdev.blogspot.com/2011/04/reading-custom-mapi-properties-in.html
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 9:46am

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

Other recent topics Other recent topics