summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-07 23:09:26 +0000
committertill <till@php.net>2008-02-07 23:09:26 +0000
commit606fc01355c349916716cbb16255353366cade68 (patch)
treeafe7566e3577e1751d42891615c2d94ba0257632 /program
parentc3f94de06031ec943e5e5f68fa63804e38265db4 (diff)
* committing patch from #1484759
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 8ead1b0e0..a686e123b 100644
--- a/program/steps/mail/sendmail.inc
+++ b/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);