Correctly set charset of Bcc header in sent mail copy (Bug #8362)
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 29 Jul 2009 06:02:55 +0000 (00:02 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 29 Jul 2009 06:03:15 +0000 (00:03 -0600)
imp/docs/CHANGES
imp/lib/Compose.php

index 28ae622..c1ad3ee 100644 (file)
@@ -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
index e3dc3e0..b6350e5 100644 (file)
@@ -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. */