Author: Nick Sagona, III (dev@nolainteractive.com)
Inheritance: extends SplQueue
示例#1
0
 public function testToString()
 {
     $q = new Queue('*****@*****.**', 'Some One');
     $q->add('*****@*****.**', 'Someone Else');
     $this->assertEquals('Some One <*****@*****.**>, Someone Else <*****@*****.**>', (string) $q);
 }
示例#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;
 }