Class Swift_Mime_SimpleHeaderSet
A collection of MIME headers.
- Swift_Mime_SimpleHeaderSet implements Swift_Mime_HeaderSet
Package: Swift\Mime
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php
public
|
#
__construct(
Create a new SimpleHeaderSet with the given $factory. |
public
|
|
public
|
#
addMailboxHeader( string $name, array|string $addresses = null )
Add a new Mailbox Header with a list of $addresses. |
public
|
#
addDateHeader( string $name, integer $timestamp = null )
Add a new Date header using $timestamp (UNIX time). |
public
|
#
addTextHeader( string $name, string $value = null )
Add a new basic text header with $name and $value. |
public
|
#
addParameterizedHeader( string $name, string $value = null, array $params = array() )
Add a new ParameterizedHeader with $name, $value and $params. |
public
|
#
addIdHeader( string $name, string|array $ids = null )
Add a new ID header for Message-ID or Content-ID. |
public
|
#
addPathHeader( string $name, string $path = null )
Add a new Path header with an address (path) in it. |
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setAlwaysDisplayed( array $names )
Set a list of header names which must always be displayed when set. |
public
|
|
public
string
|
|
public
string
|
|
private
|
#
_storeHeader( $name,
Save a Header to the internal collection |
private
|
|
private
|
|
private
|
|
private
|
private
|
$_factory
HeaderFactory |
|
private
array
|
$_headers
Collection of set Headers |
#
array()
|
private
array
|
$_order
Field ordering details |
#
array()
|
private
array
|
$_required
List of fields which are required to be displayed |
#
array()
|
private
|
$_charset
The charset used by Headers |