alecpl
2010-12-06 74728935122fe35ed97c40092080cc7dfd4b7052
program/steps/mail/sendmail.inc
@@ -193,6 +193,7 @@
  return implode(', ', $result);
}
/****** compose message ********/
if (strlen($_POST['_draft_saveid']) > 3)
@@ -441,6 +442,9 @@
  $MAIL_MIME->setHTMLBody($plugin['body']);
  // replace emoticons
  $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);
  $plainTextPart = rc_wordwrap($h2t->get_text(), $LINE_LENGTH, "\r\n");