EwsItemParts Enumeration
Defines message elements available for download using DownloadItem(ItemId, EwsItemParts) or DownloadItems(FolderId, ItemView, Boolean, EwsItemParts) methods.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
[FlagsAttribute]
public enum EwsItemParts
Members
  Member nameValueDescription
IdOnly0 Only item ID is requested. This is the fastest option.
GenericItem1BasePropertySet's FirstClassProperties are requested. For e-mail messages, includes ID, From, Subject, Read/Unread status.
MailMessageRecipients2 To, CC, BCC, Reply-To.
MailMessageBody4 Mail message body and, if MS Exchange version is 2013 or higher, also plain-text version of the body.
MailMessageAttachments8 The attachments to the message.
MailMessageRawData16 The complete MIME source of the message. MailBee uses it to construct MailMessage objects.
MailMessageFull31 Combines GenericItem, MailMessageRecipients, MailMessageBody, MailMessageAttachments, MailMessageRawData.
Remarks

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.

See Also