Przeglądaj źródła

Do not utf encode subject and from. the mime header contains a charsets
definition and that is sufficient.

stekkel 22 lat temu
rodzic
commit
5441eff9fa
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/read_body.php

+ 2 - 2
src/read_body.php

@@ -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 );