IMessage SummaryBody Property
Gets the body structure of the message, if available.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The body structure of the message.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
BodyPart? Body { get; }Property Value
BodyPartThe body structure of the message.
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.