public sendAsGroup ( boolean $group ) : |
||
$group | boolean | |
return |
public function sendAsGroup($group)
{
$this->group = $group;
return $this;
}
public function testTo() { $m = new Mail('Subject'); $m->to('*****@*****.**', 'Bob Smith'); $m->add('*****@*****.**', 'Bubba Smith'); $m->sendAsGroup(true); $this->assertEquals(2, count($m->getQueue())); }