Interface Swift_Mime_HeaderFactory

ExtendsSwift_Mime_CharsetObserver
Implemented bySwift_Mime_SimpleHeaderFactory

Creates MIME headers.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
charsetChanged() Notify this observer that the entity's charset has changed. Swift_Mime_CharsetObserver
createDateHeader() Create a new Date header using $timestamp (UNIX time). Swift_Mime_HeaderFactory
createIdHeader() Create a new ID header for Message-ID or Content-ID. Swift_Mime_HeaderFactory
createMailboxHeader() Create a new Mailbox Header with a list of $addresses. Swift_Mime_HeaderFactory
createParameterizedHeader() Create a new ParameterizedHeader with $name, $value and $params. Swift_Mime_HeaderFactory
createPathHeader() Create a new Path header with an address (path) in it. Swift_Mime_HeaderFactory
createTextHeader() Create a new basic text header with $name and $value. Swift_Mime_HeaderFactory

Method Details

createDateHeader() public abstract method

Create a new Date header using $timestamp (UNIX time).

public abstract Swift_Mime_Header createDateHeader ( $name, $timestamp null )
$name string
$timestamp int
createIdHeader() public abstract method

Create a new ID header for Message-ID or Content-ID.

public abstract Swift_Mime_Header createIdHeader ( $name, $ids null )
$name string
$ids string|array
createMailboxHeader() public abstract method

Create a new Mailbox Header with a list of $addresses.

public abstract Swift_Mime_Header createMailboxHeader ( $name, $addresses null )
$name string
$addresses array|string
createParameterizedHeader() public abstract method

Create a new ParameterizedHeader with $name, $value and $params.

public abstract Swift_Mime_ParameterizedHeader createParameterizedHeader ( $name, $value null, $params = [] )
$name string
$value string
$params array
createPathHeader() public abstract method

Create a new Path header with an address (path) in it.

public abstract Swift_Mime_Header createPathHeader ( $name, $path null )
$name string
$path string
createTextHeader() public abstract method

Create a new basic text header with $name and $value.

public abstract Swift_Mime_Header createTextHeader ( $name, $value null )
$name string
$value string