Click or drag to resize
MimeKit

MimeMessageBody Property

Get or set the body of the message.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public MimeEntity Body { get; set; }

Property Value

MimeEntity
The body of the message.

Implements

IMimeMessageBody
Remarks

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