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 value is valid.

assertValid(string $value) : void
Static

Raises an exception if invalid.

Parameters

$value

string

Exceptions

\Exception\RuntimeException

Filter the header value according to RFC 2822

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

Parameters

$value

string

Returns

string

Determine if the header value contains any invalid characters.

isValid(string $value) : boolean
Static
see (section 2.2)

Parameters

$value

string

Returns

boolean

No public constructor.

__construct()