// public function addHeaderAddress($hname, $email, [$name])
// add an address header to the mail, possibly with both name and mail parts
//
+ // public function setCharset($newcharset)
+ // set charset for this mail
+ //
// public function addMailText($textpart)
// add some text to the mail
//
$this->headers[] = array('name' => $hname, 'content' => $hcontent);
}
+ public function setCharset($newcharset) { $this->charset = $newcharset; }
+
public function addMailText($textpart) { $this->mailtext .= $textpart; }
public function addAttachment($aname, $acontent, $atype = 'application/octet-stream') {