Classes, interfaces, and traits

Container

Dependency injection container for use by ZBateson\MailMimeParser - because a more complex one seems like overkill.

« More »

AbstractHeader

Abstract base class representing a mime email's header.

« More »

AddressHeader

Reads an address list header using the AddressBaseConsumer.

« More »

AbstractConsumer

Abstract base class for all header token consumers.

« More »

AddressBaseConsumer

Serves as a base-consumer for recipient/sender email address headers (like From and To).

« More »

AddressConsumer

Parses a single part of an address header.

« More »

AddressGroupConsumer

Parses a single group of addresses (as a named-group part of an address header).

« More »

CommentConsumer

Consumes all tokens within parentheses as comments.

« More »

ConsumerService

Simple service provider for consumer singletons.

« More »

DateConsumer

Parses a date header into a Part\DatePart taking care of comment and quoted parts as necessary.

« More »

GenericConsumer

A minimal implementation of AbstractConsumer defining a CommentConsumer and QuotedStringConsumer as sub-consumers, and splitting tokens by whitespace.

« More »

IdBaseConsumer

Serves as a base-consumer for ID headers (like Message-ID and Content-ID).

« More »

IdConsumer

Parses a single ID from an ID header. Begins consuming on a '<' char, and ends on a '>' char.

« More »

ParameterConsumer

Reads headers separated into parameters consisting of a main value, and subsequent name/value pairs - for example text/html; charset=utf-8.

« More »

QuotedStringConsumer

Represents a quoted part of a header value starting at a single quote, and ending at the next single quote.

« More »

ReceivedConsumer

Parses a Received header into ReceivedParts, ReceivedDomainParts, a DatePart, and CommentParts.

« More »

DomainConsumer

Parses a so-called "extended-domain" (from and by) part of a Received header.

« More »

GenericReceivedConsumer

Consumes simple literal strings for parts of a Received header.

« More »

ReceivedDateConsumer

Parses the date portion of a Received header into a DatePart.

« More »

SubjectConsumer

Extends GenericConsumer to remove its sub consumers.

« More »

DateHeader

Reads a DatePart value header in either RFC 2822 or RFC 822 format.

« More »

GenericHeader

Reads the header using GenericConsumer.

« More »

HeaderContainer

Maintains a collection of headers for a part.

« More »

HeaderFactory

Constructs various AbstractHeader types depending on the type of header passed.

« More »

IdHeader

Represents a Content-ID, Message-ID, In-Reply-To or References header.

« More »

ParameterHeader

Represents a header containing a primary value part and subsequent name/value parts using a ParameterConsumer.

« More »

AddressGroupPart

Holds a group of addresses, and an optional group name.

« More »

AddressPart

Holds a single address or name/address pair.

« More »

CommentPart

Represents a mime header comment -- text in a structured mime header value existing within parentheses.

« More »

DatePart

Parses a header into a DateTime object.

« More »

HeaderPart

Abstract base class representing a single part of a parsed header.

« More »

HeaderPartFactory

Constructs and returns HeaderPart objects.

« More »

LiteralPart

A literal header string part. The value of the part is stripped of CR and LF characters, but otherwise not transformed or changed in any way.

« More »

MimeLiteralPart

Represents a single mime header part token, with the possibility of it being MIME-Encoded as per RFC-2047.

« More »

MimeLiteralPartFactory

Extends HeaderPartFactory to instantiate MimeLiteralParts for its newInstance function.

« More »

ParameterPart

Represents a name/value pair part of a header.

« More »

ReceivedDomainPart

Holds extra information about a parsed Received header part, for FROM and BY parts, namely: ehlo name, hostname, and address.

« More »

ReceivedPart

Represents one parameter in a parsed 'Received' header, e.g. the FROM or VIA part.

« More »

SplitParameterToken

Holds a running value for an RFC-2231 split header parameter.

« More »

Token

Holds a string value token that will require additional processing by a consumer prior to returning to a client.

« More »

ReceivedHeader

Represents a Received header.

« More »

SubjectHeader

Reads the header using a SubjectConsumer.

« More »

MailMimeParser

Parses a MIME message into a \ZBateson\MailMimeParser\Message object.

« More »

Message

A parsed mime message with optional mime parts depending on its type.

« More »

AbstractHelper

Base class for message helpers.

« More »

GenericHelper

Provides common Message helper routines for Message manipulation.

« More »

MessageHelperService

Responsible for creating helper singletons.

« More »

MultipartHelper

Provides various routines to manipulate and create multipart messages from an existing message (e.g. to make space for attachments in a message, or to change a simple message to a multipart/alternative one, etc.

« More »

PrivacyHelper

Provides routines to set or retrieve the signature part of a signed message.

« More »

MessageFactory

Responsible for creating Message instances.

« More »

MessageParser

Parses a mail mime message into its component parts. To invoke, call MailMimeParser::parse.

« More »

PartFilter

Provides a way to define a filter of MessagePart for use in various calls to add/remove MessagePart.

« More »

PartFilterFactory

Injectable factory class used by MimePart to construct PartFilter instances in a testable way.

« More »

MessagePartFactory

Abstract factory for subclasses of MessagePart.

« More »

MimePartFactory

Responsible for creating MimePart instances.

« More »

NonMimePartFactory

Responsible for creating NoneMimePart instances.

« More »

PartBuilderFactory

Responsible for creating PartBuilder instances.

« More »

PartFactoryService

Responsible for creating singleton instances of MessagePartFactory and its subclasses.

« More »

PartStreamFilterManagerFactory

Responsible for creating PartStreamFilterManager instances.

« More »

UUEncodedPartFactory

Responsible for creating UUEncodedPart instances.

« More »

MessagePart

Represents a single part of a message.

« More »

MimePart

Represents a single part of a multi-part mime message.

« More »

NonMimePart

Represents part of a non-mime message. The part could either be a plain text part or a uuencoded attachment and could be extended for other pre-mime message encoding types.

« More »

ParentHeaderPart

A parent part containing headers.

« More »

ParentPart

A MessagePart that contains children.

« More »

PartBuilder

Used by MessageParser to keep information about a parsed message as an intermediary before creating a Message object and its MessagePart children.

« More »

PartStreamFilterManager

Manages attached stream filters for a MessagePart's content resource handle.

« More »

UUEncodedPart

A specialized NonMimePart representing a uuencoded part.

« More »

HeaderStream

Psr7 stream decorator implementation providing a readable stream for a part's headers.

« More »

MessagePartStream

Provides a readable stream for a MessagePart.

« More »

StreamFactory

Factory class for Psr7 stream decorators used in MailMimeParser.

« More »