From: Michael M Slusarz Date: Wed, 29 Jul 2009 06:02:55 +0000 (-0600) Subject: Correctly set charset of Bcc header in sent mail copy (Bug #8362) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=db644ab53fe599f1fd4f6ea93abbf302e4feff68;p=horde.git Correctly set charset of Bcc header in sent mail copy (Bug #8362) --- diff --git a/imp/docs/CHANGES b/imp/docs/CHANGES index 28ae622b8..c1ad3eede 100644 --- a/imp/docs/CHANGES +++ b/imp/docs/CHANGES @@ -94,6 +94,7 @@ v5.0-git v4.3.5-cvs ---------- +[mms] Correctly set charset of Bcc header in sent mail (Bug #8362). [mms] Fix spellcheck in text-mode for certain words in non-English locales (Bug #8330). [mms] Fix some javascript if using IE 8 (uses IE 7 compatibility mode) (Bug diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index e3dc3e06e..b6350e5cb 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -567,7 +567,7 @@ class IMP_Compose /* Keep Bcc: headers on saved messages. */ if (!empty($header['bcc'])) { - $headers->addHeader('Bcc', $header['bcc']); + $headers->addHeader('Bcc', Horde_String::convertCharset($header['bcc'], $browser_charset, $charset)); } /* Strip attachments if requested. */