Hi
How can we get the list of all folders through exchange client?
thanks
Hi
Hi Haseeb,
Thank you for writing to Aspose support team.
ListSubFolders()
and ListPublicFolders() fiunction can be used to retrieve all the
folders from the exchange client as shown in the following code.
IEWSClient client = GetAsposeEWSClient();
ExchangeFolderInfoCollection coll = client.ListPublicFolders();
ExchangeFolderInfoCollection coll2 = client.ListSubFolders(client.GetMailboxInfo().RootUri);
You may also have a look at the following links:
Thanks
Hi Haseeb,