How to check Subfolders inside a folder in Outlook

Hi Evereyone,

I hope you are doing well. I have one question. I want check is there any subfolder inside a folder in Outlook.
Suppose using this code [OutlookApp.Session.DefaultStore.GetRootFolder().Folders] I am getting list of all the root folder in Outlook, Now I want to check what are the subfolders inside a folder and also any other folder inside that subfolder. Can I check that, if yes, How can I check that. Please help with the possible solution.
Thank you,
Sourav

Please refer the attached .xml file for this solutionoutlookFolders.xaml (43.7 KB)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.