Click or drag to resize

MimeMessageBody Property

Get or set the body of the message.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
public MimeEntity Body { get; set; }

Property Value

Type: MimeEntity
The body of the message.

The body of the message can either be plain text or it can be a tree of MIME entities such as a text/plain MIME part and a collection of file attachments.

For a convenient way of constructing message bodies, see the BodyBuilder class.

See Also