none
Sync only User Email Folders RRS feed

  • Question

  • Hey guys, 

    Is there a way, when calling syncFolderHierarchy - or possibly something else, to filter only for the folders the user has created himself. This would exclude all calendar, notes, default folders like Inbox, Spam, Deleted. 

    The best way I've found is just to look at the folder name and compare it to the WellKnownFolderName list of enum values and make sure the folder class is of type "IPF NOTE". This seems pretty hacky, but I don't see another choice. Anyone have a better idea?

    Wednesday, July 23, 2014 5:30 PM

Answers