EwsItemParts Enumeration |
Namespace: MailBee.EwsMail
Member name | Value | Description | |
---|---|---|---|
IdOnly | 0 | Only item ID is requested. This is the fastest option. | |
GenericItem | 1 | BasePropertySet's FirstClassProperties are requested. For e-mail messages, includes ID, From, Subject, Read/Unread status. | |
MailMessageRecipients | 2 | To, CC, BCC, Reply-To. | |
MailMessageBody | 4 | Mail message body and, if MS Exchange version is 2013 or higher, also plain-text version of the body. | |
MailMessageAttachments | 8 | The attachments to the message. | |
MailMessageRawData | 16 | The complete MIME source of the message. MailBee uses it to construct MailMessage objects. | |
MailMessageFull | 31 | Combines GenericItem, MailMessageRecipients, MailMessageBody, MailMessageAttachments, MailMessageRawData. |
These values control to which extent EwsItem objects returned by DownloadItem(ItemId, EwsItemParts) or DownloadItems(FolderId, ItemView, Boolean, EwsItemParts) methods will be set. For instance, to have MailBeeMessage set, you need to specify MailMessageRawData or MailMessageFull flag when calling these methods.
Item ID is always loaded.
You can combine multiple values to request multiple properties at once.