
Alejandro García González - 2009-04-22 02:54:43 -
In reply to message 1 from Ulf Bergum
Try Changing this functions:
function set_subject($subject)
{
$this->mail_subject = !empty($subject) ? mb_convert_encoding(trim($subject), $this->charset) : "No subject";
}
function set_text($text)
{
if (!empty($text)){
$this->mail_text = preg_replace("(\r\n|\r|\n)", BR, mb_convert_encoding($text, $this->charset)) ;
}
}
function set_html($html)
{
if (!empty($html)){
$this->mail_html = preg_replace("(\r\n|\r|\n)", BR, mb_convert_encoding($html), $this->charset));
}
}
Please, tell me if works.
Bye