MimeMultipart Class

A multipart entity ([RFC 2046] 5.1): parts separated by a boundary, such as multipart/mixed or multipart/alternative.

public sealed class MimeMultipart : MimeEntity
Inheritance
MimeEntity MimeMultipart

Constructors

NameDescription
MimeMultipart(string)Initializes a new instance of the MimeMultipart class.

MimeMultipart(string)

MimeMultipart.cs

Initializes a new instance of the MimeMultipart class.

public MimeMultipart(string mediaSubtype = "mixed")

Parameters

mediaSubtype string
The subtype, such as mixed, alternative or related.

Properties

NameDescription
EpilogueGets or sets the text after the last part.
PartsGets the parts.
PreambleGets or sets the text before the first part, which MIME clients do not show.

Gets or sets the text after the last part.

public ReadOnlyMemory<byte> Epilogue { get; set; }

Property value

ReadOnlyMemory<byte>

Gets the parts.

public IList<MimeEntity> Parts { get; }

Property value

IList<MimeEntity>

Gets or sets the text before the first part, which MIME clients do not show.

public ReadOnlyMemory<byte> Preamble { get; set; }

Property value

ReadOnlyMemory<byte>