Open utillity opened 8 years ago
which packet did you use for connecting to Exchange? would you give me a document which contains the package you used?
I guess package from nuget.
Don't know if you solved this but I ran into the same problem. Limiting the request for FolderSchema.WellKnownFolderName to the WellKnownFolderName.MsgFolderRoot solved my issue. This also works fine in WellKnownFolderName.RecoverableItemsRoot
Hi,
I would like to cache the folder hierarchy of a mailbox using the ExchangeService.SyncFolderHierarchy() API method.
This code works just fine. But the
FolderChange.FolderId.FolderName
(of enum typeWellKnownFolderName?
) andFolderChange.Folder.WellKnownFolderName
(of equal type) are both always null. So addingFolderSchema.WellKnownFolderName
to the PropertySet above would be the best bet. But now as soon as I call the API method, the following exception appears:It seems the enumeration in the managed API is behind Outlook 2016 features? Is there any workaround for this?
I am using the latest NuGet package (2.2.0).