MessageSummaryBody Property

Gets the body structure of the message, if available.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public BodyPart? Body { get; set; }

Property Value

BodyPart
The body structure of the message.

Implements

IMessageSummaryBody

Remarks

The body will be one of BodyPartText, BodyPartMessage, BodyPartBasic, or BodyPartMultipart.

This property will only be set if either the Body flag or the BodyStructure flag is passed to one of the Fetch or FetchAsync methods.

See Also