From d39b729322f7d7122c7378ea99c958d4fd67c8cc Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 3 Jul 2003 19:13:36 +0000 Subject: [PATCH] Do not utf encode subject and from. the mime header contains a charsets 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index facd9354..47bd027b 100644 --- a/src/read_body.php +++ b/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 ); -- 2.25.1