From: alex-brainstorm Date: Sun, 31 Aug 2003 23:58:51 +0000 (+0000) Subject: The previous commit fixes _(Unknown sender) from being html encoded X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7893c8a552a99bee24c4298d45fd9f131c55b5b8;p=squirrelmail.git The previous commit fixes _(Unknown sender) from being html encoded git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5599 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 81bd5e1c..1ac5cad1 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -394,6 +394,7 @@ function formatEnvheader($mailbox, $passed_id, $passed_ent_id, $message, $header = $message->rfc822_header; $env = array(); $env[_("Subject")] = str_replace(" "," ",decodeHeader($header->subject)); + $from_name = $header->getAddr_s('from'); if (!$from_name) $from_name = $header->getAddr_s('sender');