setCharset() public method

Set character set
public setCharset ( string $chr ) : Mail
$chr string
return Mail
Esempio n. 1
0
 public function testSetAndGetCharset()
 {
     $m = new Mail();
     $m->setCharset('utf-8');
     $this->assertEquals('utf-8', $m->getCharset());
 }