We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Iterate Outlook Folders (not .pst!)

I need to iterate through all of my Outlook folders starting at my Inbox and then all sub-folders. My Outlook account is an Exchange Server account i.e. it's not a .pst.

Is this possible? I'm having a hard time finding if this is possible through your documentation or forums.

This message was posted using Aspose.Live 2 Forum


Thanks for your inquiry.

Could you please try ExchangeClient.ListMessages(folder, true)? This overloaded method can fetch messages recursively from the Inbox and subfolders as well. ExchangeClient class uses WebDAV protocol and requires Exchange Server 2007 and all previous versions. It is not however supported on Exchange 2010 currently.