Author: Nick Sagona, III (dev@nolainteractive.com)
Inheritance: extends SplQueue
Esempio n. 1
0
 public function testToString()
 {
     $q = new Queue('*****@*****.**', 'Some One');
     $q->add('*****@*****.**', 'Someone Else');
     $this->assertEquals('Some One <*****@*****.**>, Someone Else <*****@*****.**>', (string) $q);
 }
Esempio n. 2
0
 /**
  * Add recipients to the queue
  *
  * @param  mixed $rcpts
  * @throws Exception
  * @return \Pop\Mail\Mail
  */
 public function addRecipients($rcpts)
 {
     $this->queue->addRecipients($rcpts);
     return $this;
 }