diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-26 12:14:34 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-26 12:14:34 +0100 |
commit | 66afd70b756a0637da3537e96f6bf6ce0a2c46e9 (patch) | |
tree | 97d57798ee3c4cd9ebca62f24f90d05f806cffda /program/steps/mail/sendmail.inc | |
parent | 7ac94421bf85eb04c00c5ed05390e1ea0c6bcb0b (diff) |
Framework'ize html2text class
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 36d850f8f..eb0ba89c6 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -559,7 +559,7 @@ if ($isHtml) { $plugin['body'] = rcmail_replace_emoticons($plugin['body']); // add a plain text version of the e-mail as an alternative part. - $h2t = new html2text($plugin['body'], false, true, 0, $message_charset); + $h2t = new rcube_html2text($plugin['body'], false, true, 0, $message_charset); $plainTextPart = rc_wordwrap($h2t->get_text(), $LINE_LENGTH, "\r\n", false, $message_charset); $plainTextPart = wordwrap($plainTextPart, 998, "\r\n", true); |