Methods
Factory to generate a header object from a string
fromString(string $headerLine) : \Zend\Mail\Header\self
Parameters
$headerLine
string
Exceptions
Returns
\Zend\Mail\Header\self
Get header encoding
getEncoding() : string
Retrieve header name
getFieldName() : string
Retrieve header value
getFieldValue(bool $format) : string
Parameters
$format
bool
Return the value in Mime::Encoded or in Raw format
Returns
string
Retrieve the content transfer encoding
getTransferEncoding() : string
Set header encoding
setEncoding(string $encoding) : \Zend\Mail\Header\self
Parameters
$encoding
string
Returns
\Zend\Mail\Header\self
Set the content transfer encoding
setTransferEncoding(string $transferEncoding) : \Zend\Mail\Header\self
Parameters
$transferEncoding
string
Exceptions
Returns
\Zend\Mail\Header\self
Cast to string
toString() : string
Returns in form of "NAME: VALUE"
Returns
string
Properties
Allowed Content-Transfer-Encoding parameters specified by RFC 1521
(reduced set)
$allowedTransferEncodings : array
$parameters
$parameters : array
$transferEncoding
$transferEncoding : string
Constants