I am using Outlook redemption to access all rules from outlook. How could we get RDORules using Outlook Redemption in c# ? I have tried accessing this using below code
Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); Microsoft.Office.Interop.Outlook._NameSpace ns = app.GetNamespace("MAPI");
Redemption.RDOSessionClass rdoSession = new Redemption.RDOSessionClass(); rdoSession.MAPIOBJECT = ns.MAPIOBJECT;
rdoSession.Stores.DefaultStore.Rules - Here Rules property not exist.
The reason is rdoSession.Stores.DefaultStore return RDOStore object and Rules property exist in RDOExchangeStore object.
and i am not able to access RDOExchangeStore object. cause store kind is "skPstUnicode" Is there any way to access RDORules ?