Class Swift_Mime_SimpleHeaderFactory
Creates MIME headers.
- Swift_Mime_SimpleHeaderFactory implements Swift_Mime_HeaderFactory
Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderFactory.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderFactory.php
Methods summary
public
|
#
__construct(
Creates a new SimpleHeaderFactory using $encoder and $paramEncoder. |
public
|
#
createMailboxHeader( string $name, array|string $addresses = null )
Create a new Mailbox Header with a list of $addresses. |
public
|
#
createDateHeader( string $name, integer $timestamp = null )
Create a new Date header using $timestamp (UNIX time). |
public
|
#
createTextHeader( string $name, string $value = null )
Create a new basic text header with $name and $value. |
public
|
#
createParameterizedHeader( string $name, string $value = null, array $params = array() )
Create a new ParameterizedHeader with $name, $value and $params. |
public
|
#
createIdHeader( string $name, string|array $ids = null )
Create a new ID header for Message-ID or Content-ID. |
public
|
#
createPathHeader( string $name, string $path = null )
Create a new Path header with an address (path) in it. |
public
|
|
private
|
Magic methods summary
Properties summary
private
mixed
|
$_encoder |
#
The HeaderEncoder used by these headers |
private
mixed
|
$_paramEncoder |
#
The Encoder used by parameters |
private
mixed
|
$_grammar |
#
The Grammar |
private
mixed
|
$_charset |
#
The charset of created Headers |