diff options
| author | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-07 23:09:26 +0000 |
|---|---|---|
| committer | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-07 23:09:26 +0000 |
| commit | 2bc86bed8f1af868e4195111ff1187f24e8842e3 (patch) | |
| tree | 95495d26e9e3c6c96575886bc581d4f3019d69db /roundcubemail/program/steps/mail | |
| parent | d1aee850dea62802326d8481e7955b99ba566adf (diff) | |
* committing patch from #1484759
git-svn-id: https://svn.roundcube.net/trunk@1028 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index 8ead1b0e0..a686e123b 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -239,7 +239,7 @@ if ($isHtml) // add a plain text version of the e-mail as an alternative part. $h2t = new html2text($message_body); $plainTextPart = wordwrap($h2t->get_text(), 998, "\r\n", true); - $MAIL_MIME->setTXTBody($plainTextPart); + $MAIL_MIME->setTXTBody(html_entity_decode($plainTextPart, ENT_COMPAT, 'utf-8')); // look for "emoticon" images from TinyMCE and copy into message as attachments rcmail_attach_emoticons($MAIL_MIME); |
