category Zend
package Zend_Mail
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Assert that the header name is valid.

assertValid(string $name) : void
Static

Raises an exception if invalid.

Parameters

$name

string

Exceptions

\Exception\RuntimeException

Filter the header name according to RFC 2822

filter(string $name) : string
Static
see (section 2.2)

Parameters

$name

string

Returns

string

Determine if the header name contains any invalid characters.

isValid(string $name) : boolean
Static

Parameters

$name

string

Returns

boolean

No public constructor.

__construct()