Exemple #1
0
 public function testSetIpPool()
 {
     $header = new Smtpapi\Header();
     $header->setIpPool('foo');
     $this->assertEquals($this->t['set_ip_pool'], $header->jsonString());
 }
Exemple #2
0
 public function testSetFilters()
 {
     $header = new Smtpapi\Header();
     $filter = array('footer' => array('setting' => array('enable' => 1, "text/plain" => 'You can haz footers!')));
     $header->setFilters($filter);
     $this->assertEquals($this->t['set_filters'], $header->jsonString());
 }