Mime MessageBody Property
Get or set the body of the message.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The body of the message.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MimeEntity? Body { get; set; }Property Value
MimeEntityThe body of the message.
Implements
IMimeMessageBodyRemarks
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.