EwsItemMailBeeMessage Property
Gets a reference to MailBee's MailMessage object representing the mail message.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public MailMessage MailBeeMessage { get; }

Property Value

Type: MailMessage
A reference to MailMessage object representing the mail message, or a null reference (Nothing in Visual Basic) if this value is not available.

You can use this property to get MailMessage object which you can then use with other MailBee classes and which lets you access mail message properties and features in different ways.

This property is only set if entire mail messages were requested from MS Exchange server. In particular, MailMessageRawData or MailMessageFull needs to be passed to Ews.DownloadItem(FolderId, int, EwsItemParts), Ews.DownloadItem(ItemId, EwsItemParts) or any other method accepting EwsItemParts parameter.

Note Note
This value can only be available for mail message items (but not for appointments, contacts, etc). To get items of other types, use NativeItem property.

You can also download an entire message directly using DownloadEntireMessage(ItemId) method.

See Also