mime library

Base email classes

Classes

AttachmentInfo
Information about a file that is attached
BinaryMimeData
Represents binary mime data
BodyPart
A BODY or BODYSTRUCTURE information element
ContentDispositionHeader
Specifies the content disposition header of a mime part. Compare https://tools.ietf.org/html/rfc2183 for details.
ContentInfo
Provides high level information about content parts.
ContentTypeHeader
Eases reading content-type header values
Envelope
Contains the envelope information about a message.
Encapsulates a MIME header
MailAddress
An email address can consist of separate fields
MailConventions
Contains various mail specific conventions
MediaType
Describes the media type of a MIME message part
MessageBuilder
Simplifies creating mime messages for sending or storing.
MessageFlags
Contains common message flags
MessageSequence
Defines a list of message IDs.
MimeData
Abstracts textual or binary mime data
MimeMessage
A MIME message
MimePart
A MIME part In a simple case a MIME message only has one MIME part.
MimeThread
Abstract a mime message thread
PagedMessageSequence
A paginated list of message IDs
ParameterizedHeader
A parameter that may contain additional parameters
PartBuilder
Allows to configure a mime part
SequenceNode
A message sequence to handle nested IDs like in the IMAP THREAD extension.
TextMimeData
Represents textual mime data

Enums

CharacterSet
The used character set
ContentDisposition
Specifies the content disposition of a mime part. Compare https://tools.ietf.org/html/rfc2183 for details.
MediaSubtype
Detailed media types Compare https://www.iana.org/assignments/media-types/media-types.xhtml
MediaToptype
Top level media types
RecipientGroup
The recipient
SequenceNodeSelectionMode
Selection mode for retrieving a MessageSequence from a nested SequenceNode structure.
TransferEncoding
The transfer-encoding used for encoding 8bit data if necessary

Extensions

MediaSubtypeExtension on MediaSubtype
Extension on MediaSubtype
SequenceExtension on List<MimeMessage>
Allows to get a sequence for a list of MimeMessages easily

Exceptions / Errors

BaseMailException
Base exception for any IMAP, POP, SMTP or highlevel API exceptions
InvalidArgumentException
Notifies about an invalid argument