codecs library
Email codec classes
Classes
- AttachmentInfo
- Information about a file that is attached
- Base64MailCodec
- Provides base64 encoder and decoder.
- 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
- DateCodec
- Encodes and decodes dates according to MIME requirements.
- Envelope
- Contains the envelope information about a message.
- Header
- Encapsulates a MIME header
- MailAddress
- An email address can consist of separate fields
- MailCodec
- Encodes and decodes base-64 and quoted printable encoded texts
- 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
- QuotedPrintableMailCodec
- Provides quoted printable encoder and decoder.
- 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.
- HeaderEncoding
- The used header encoding mechanism
- 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 nestedSequenceNode
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