MailMimeParser 2.3

MimeLiteralPartFactory extends HeaderPartFactory
in package

Extends HeaderPartFactory to instantiate MimeLiteralParts for its newInstance function.

Tags
author

Zaahid Bateson

Table of Contents

$charsetConverter  : MbWrapper
__construct()  : mixed
Sets up dependencies.
newAddressGroupPart()  : AddressGroupPart
Initializes and returns a new AddressGroupPart
newAddressPart()  : AddressPart
Initializes and returns a new AddressPart.
newCommentPart()  : CommentPart
Initializes and returns a new CommentPart.
newDatePart()  : DatePart
Initializes and returns a new DatePart
newInstance()  : HeaderPart
Creates and returns a MimeLiteralPart.
newLiteralPart()  : LiteralPart
Initializes and returns a new LiteralPart.
newMimeLiteralPart()  : MimeLiteralPart
Initializes and returns a new MimeLiteralPart.
newParameterPart()  : ParameterPart
Initializes and returns a new ParameterPart.
newReceivedDomainPart()  : ReceivedDomainPart
Initializes and returns a new ReceivedDomainPart.
newReceivedPart()  : ReceivedPart
Initializes and returns a new ReceivedPart.
newSplitParameterToken()  : SplitParameterToken
Instantiates and returns a SplitParameterToken with the given name.
newToken()  : Token
Initializes and returns a new Token.

Properties

$charsetConverter

protected MbWrapper $charsetConverter

passed to IHeaderPart constructors for converting strings in IHeaderPart::convertEncoding

Methods

__construct()

Sets up dependencies.

public __construct(MbWrapper $charsetConverter) : mixed
Parameters
$charsetConverter : MbWrapper
Return values
mixed

newAddressGroupPart()

Initializes and returns a new AddressGroupPart

public newAddressGroupPart(array<string|int, mixed> $addresses[, string $name = '' ]) : AddressGroupPart
Parameters
$addresses : array<string|int, mixed>
$name : string = ''
Return values
AddressGroupPart

newAddressPart()

Initializes and returns a new AddressPart.

public newAddressPart(string $name, string $email) : AddressPart
Parameters
$name : string
$email : string
Return values
AddressPart

newParameterPart()

Initializes and returns a new ParameterPart.

public newParameterPart(string $name, string $value[, string $language = null ]) : ParameterPart
Parameters
$name : string
$value : string
$language : string = null
Return values
ParameterPart

newReceivedDomainPart()

Initializes and returns a new ReceivedDomainPart.

public newReceivedDomainPart(string $name, string $value[, string $ehloName = null ][, string $hostName = null ][, string $hostAddress = null ]) : ReceivedDomainPart
Parameters
$name : string
$value : string
$ehloName : string = null
$hostName : string = null
$hostAddress : string = null
Return values
ReceivedDomainPart

newReceivedPart()

Initializes and returns a new ReceivedPart.

public newReceivedPart(string $name, string $value) : ReceivedPart
Parameters
$name : string
$value : string
Return values
ReceivedPart

newToken()

Initializes and returns a new Token.

public newToken(string $value) : Token
Parameters
$value : string
Return values
Token

Search results