projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The previous commit fixes _(Unknown sender) from being html encoded
[squirrelmail.git]
/
src
/
read_body.php
diff --git
a/src/read_body.php
b/src/read_body.php
index 81bd5e1c192c1a6765f93e41ebab164123116934..1ac5cad1c85a4beef2adc9b0c9f82ec479d25cdb 100644
(file)
--- 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');