X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Femail.php-class;h=ff03a17363534d9083423d5e7538b9e0427f412e;hp=2de9ca4e67015145c556ca14cf81ca081fa38bf3;hb=fa6eb05380b3b49b1aae02d2e2168406703eaca6;hpb=43bc07b3ee51f7d3f5ecd783b8195da26cc43f03 diff --git a/include/classes/email.php-class b/include/classes/email.php-class index 2de9ca4..ff03a17 100644 --- a/include/classes/email.php-class +++ b/include/classes/email.php-class @@ -96,6 +96,9 @@ class email { // 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 // @@ -164,6 +167,8 @@ class email { $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') {