Namespace DRIT.Mail.Rfc.Mime
Classes
ContentDisposition
Represents the value of a Content-Disposition header field (RFC 2183).
ContentType
Represents the value of a Content-Type header field (RFC 2045 §5).
GroupAddress
A group address (RFC 5322 §3.4), consisting of a display name and a list of
mailbox members (e.g. Friends: alice@example.com, bob@example.com;).
InternetAddress
Base class for Internet mail addresses (RFC 5322 §3.4). An InternetAddress is either a MailboxAddress (a single mailbox) or a GroupAddress (a named group of mailboxes).
InternetAddressList
A list of InternetAddress objects, typically used for the From, To, Cc, Bcc, or Reply-To header fields.
MailboxAddress
A single mailbox address (RFC 5322 §3.4.1), consisting of an optional display name
and an email address (e.g. John Doe <john@example.com>).
MessagePart
An embedded message MIME entity (message/rfc822, RFC 2046 §5.2.1).
Contains a full MimeMessage.
MimeAttachment
A convenience wrapper for a MIME attachment, providing easy access to the filename, content ID, content type, and decoded content bytes.
MimeEntity
Base class for a MIME entity (RFC 2045 §2.4). A node in the body tree of a message.
MimeHeader
A MIME header (RFC 5322 §3.2). Consists of a name, a primary value, and optional
semicolon-separated parameters (e.g. Content-Type: text/plain; charset=utf-8).
MimeHeaderCollection
A collection of MimeHeader objects. Header names are case-insensitive.
MimeHeaderParameter
A single parameter of a MIME header (e.g. charset=utf-8 in a Content-Type header).
MimeHeaderParameterCollection
A collection of MimeHeaderParameter objects, keyed by parameter name (case-insensitive).
MimeMessage
A complete MIME message (RFC 5322). Immutable after parsing. Construct via MimeMessageBuilder for writing.
MimeMessageBuilder
Builder for constructing MimeMessage instances for writing.
MimePart
A binary attachment MIME entity (e.g. image/png, application/pdf).
The content is stored as decoded bytes.
MimeReader
Reads MIME messages and entities from a stream (RFC 5322, RFC 2045-2049).
MimeWriter
Writes MIME messages and entities to a stream in RFC 5322/2045-compliant format.
Multipart
A multipart MIME entity (RFC 2046 §5.1). Contains a list of child entities separated by a boundary delimiter.
TextPart
A text MIME entity (RFC 2046 §4.1) such as text/plain, text/html, or
text/rtf. The text content is decoded and stored as a string.
Enums
ContentTransferEncoding
Specifies the Content-Transfer-Encoding of a MIME entity (RFC 2045 §6).
MultipartSubtype
Specifies the subtype of a multipart MIME entity (RFC 2046 §5.1).