PHP Class Pop\Mail\Queue

Author: Nick Sagona, III ([email protected])
Inheritance: extends SplQueue
Mostra file Open project: nicksagona/PopPHP Class Usage Examples

Public Methods

Method Description
__construct ( mixed $email = null, string $name = null ) : Queue Constructor
__toString ( ) : string Build the to string
add ( string $email, string $name = null ) : Queue Add a recipient
addRecipients ( mixed $rcpts ) : Queue Add recipients

Method Details

__construct() public method

Instantiate the mail queue object.
public __construct ( mixed $email = null, string $name = null ) : Queue
$email mixed
$name string
return Queue

__toString() public method

Build the to string
public __toString ( ) : string
return string

add() public method

Add a recipient
public add ( string $email, string $name = null ) : Queue
$email string
$name string
return Queue

addRecipients() public method

Add recipients
public addRecipients ( mixed $rcpts ) : Queue
$rcpts mixed
return Queue