Class Swift_Mime_Headers_PathHeader
A Path Header in Swift Mailer, such a Return-Path.
- Swift_Mime_Headers_AbstractHeader implements Swift_Mime_Header
- Swift_Mime_Headers_PathHeader
Package: Swift\Mime
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php
public
|
#
__construct( string $name,
Creates a new PathHeader with the given $name. |
public
integer
|
|
public
|
#
setFieldBodyModel( string $model )
Set the model for the field body. This method takes a string for an address. |
public
mixed
|
#
getFieldBodyModel( )
Get the model for the field body. This method returns a string email address. |
public
|
|
public
string
|
#
getAddress( )
Get the address which is used in this Header (if any). Null is returned if no address is set. |
public
string
|
#
getFieldBody( )
Get the string value of the body in this Header.
This is not necessarily RFC 2822 compliant since folding white space will
not be added at this stage (see |
private
|
#
_assertValidAddress( string $address )
Throws an Exception if the address passed does not comply with RFC 2822. |
TYPE_DATE,
TYPE_ID,
TYPE_MAILBOX,
TYPE_PARAMETERIZED,
TYPE_PATH,
TYPE_TEXT
|
private
string
|
$_address
The address in this Header (if specified). |