Do not utf encode subject and from. the mime header contains a charsets
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2003 19:13:36 +0000 (19:13 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2003 19:13:36 +0000 (19:13 +0000)
definition and that is sufficient.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5209 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index facd93542b5658fb34167632293e05badaf44413..47bd027bb2f0e180e3fe5a6a5be755efcc1cc85f 100644 (file)
@@ -202,8 +202,8 @@ function SendMDN ( $mailbox, $passed_id, $sender, $message, $imapConnection) {
     $now = getLongDateString( time() );
     set_my_charset();
     $body = _("Your message") . "\r\n\r\n" .
-            "\t" . _("To:") . ' ' . decodeHeader($to,true,false) . "\r\n" .
-            "\t" . _("Subject:") . ' ' . decodeHeader($header->subject,true,false) . "\r\n" .
+            "\t" . _("To:") . ' ' . decodeHeader($to,false,false) . "\r\n" .
+            "\t" . _("Subject:") . ' ' . decodeHeader($header->subject,false,false) . "\r\n" .
             "\t" . _("Sent:") . ' ' . $senton . "\r\n" .
             "\r\n" .
             sprintf( _("Was displayed on %s"), $now );