Interface Swift_Mime_HeaderSet
A collection of MIME headers.
- Swift_Mime_HeaderSet implements Swift_Mime_CharsetObserver
Direct known implementers
Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/HeaderSet.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/HeaderSet.php
Methods summary
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
|
#
has( string $name, integer $index = 0 )
Returns true if at least one header with the given $name exists. |
public
|
|
public
|
#
get( string $name, integer $index = 0 )
Get the header with the given $name. If multiple headers match, the actual one may be specified by $index. Returns NULL if none present. |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setAlwaysDisplayed( array $names )
Set a list of header names which must always be displayed when set. |
public
string
|