public function testToString() { $q = new Queue('*****@*****.**', 'Some One'); $q->add('*****@*****.**', 'Someone Else'); $this->assertEquals('Some One <*****@*****.**>, Someone Else <*****@*****.**>', (string) $q); }
/** * Add recipients to the queue * * @param mixed $rcpts * @throws Exception * @return \Pop\Mail\Mail */ public function addRecipients($rcpts) { $this->queue->addRecipients($rcpts); return $this; }