Thomas Bruederli
2013-01-31 873ae9e9de2aba0f22f3669b1e1519a439d97b5c
program/steps/mail/sendmail.inc
@@ -559,7 +559,7 @@
  $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);