I'm starting to use Aspose.Network.Outlook.Pst to iterate items within a PST or OST.
I can do this:
PersonalStorage ost = PersonalStorage.FromFile(filePath);
FolderInfo folder = ost.RootFolder;
MessageInfoCollection messages = folder.GetContents();
I can then iterate the items in 'messages', but the collection only contains the items in THAT folder.
What I really need to do is iterate the entire PST as a single edb table, finding whether each successive item is a message, folder, calendar item, or whatever, and getting properties of each one based on type.
Is there a way to do this? I don't want to use recursion like the OST example I've seen, because my iterator block uses 'yield return'.
Thank you for any info,