How to enumerate mail items from Exchange server

I'm using the Outlook object model to enumerate items in a folder from C#. Outlook 2013 added an option to allow the user to select how much mail to cache offline. It appears that when I enumerate the items in a folder it will only return the items that are cached and I cannot get the ones still on the server. How can I get the server messages so I'm sure I'm getting all of the messages?

If there's no option to get the server messages is there a programatical way to set the setting to "All" so I can force the download of all messages?

September 4th, 2015 4:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics