category Zend
package Zend_Mail

 Methods

Constructor

__construct(string $email, null | string $name) : \Zend\Mail\Address

Parameters

$email

string

$name

nullstring

Exceptions

\Zend\Mail\Exception\InvalidArgumentException

Returns

Retrieve email

getEmail() : string

Returns

string

Retrieve name

getName() : string

Returns

string

String representation of address

toString() : string

Returns

string

 Properties

 

$email

$email 

 

$name

$name