Holds a single address or name/address pair.
The name part of the address may be mime-encoded, but the email address part
can't be mime-encoded. Any whitespace in the email address part is stripped
out.
A convenience method, getEmail, is provided for clarity -- but getValue
returns the email address as well.
- author Zaahid Bateson
CloneableInstantiable
Constants |
Methods |
public __construct(ZBateson Performs mime-decoding and initializes the address' name and email. The passed $name may be mime-encoded. $email is stripped of any |
public getEmail() : string Returns the email address.
|
Properties |
Methods |