addRecipients() public method

Add recipients to the queue
public addRecipients ( mixed $rcpts ) : Mail
$rcpts mixed
return Mail
Ejemplo n.º 1
0
 public function testRcptException()
 {
     $this->setExpectedException('Pop\\Mail\\Exception');
     $m = new Mail();
     $m->addRecipients('Subject', array(array('name' => 'Bob Smith'), array('name' => 'Bob Smith')));
 }