function setText($text = '') { if ($this->charset != "utf-8") { parent::setText(encodeString($this->encodeNonInCharset($text, false), $this->charset)); } else { parent::setText($text); } }
function setText($text = '') { global $prefs; if (!empty($prefs['email_footer'])) { $text .= CRLF . $prefs['email_footer']; } if ($this->charset != "utf-8") parent::setText(encodeString($this->encodeNonInCharset($text, false), $this->charset)); else parent::setText($text); }