IMessageSummaryBodyParts Property

Gets the body parts of the message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
IEnumerable<BodyPartBasic> BodyParts { get; }

Property Value

IEnumerableBodyPartBasic
The body parts.

Remarks

Traverses over the Body, enumerating all of the BodyPartBasic objects.

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

See Also