EwsDownloadItems Method (FolderId, ItemView, Boolean) |
Namespace: MailBee.EwsMail
Exception | Condition |
---|---|
MailBeeException | An error occurred and ThrowExceptions is true. |
NotImplementedException | The .NET runtime is .NET Core. |
To specify the folder by its name, first get its ID with FindFolderIdByShortName(FolderId, String) or FindFolderIdByFullName(String) method.
This overload lets you specify EWS's ItemView object to configure ordering and paging of the results. Alternatively, you can download all IDs of all items using DownloadItemIds(FolderId, Boolean) method and then use DownloadItems(IEnumerable<EwsItem>, EwsItemParts) overload to download the requested items.
You can also use DownloadItems(FolderId, int, int, bool) overload if you have a range of messages you want to download.
Note |
---|
This overload downloads only basic properties of Exchange items. You need to use other overloads to get full e-mail messages. |
Note |
---|
This method is not implemented in .NET Core. Use DownloadItemsAsync(FolderId, ItemView, Boolean) instead. |