mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
handle encoded subjects on saving emails on disc
This commit is contained in:
parent
7651204eeb
commit
a9388edec7
@ -2015,7 +2015,7 @@ blockquote[type=cite] {
|
||||
$GLOBALS['egw']->session->commit_session();
|
||||
if ($display==false)
|
||||
{
|
||||
$subject = str_replace('$$','__',$headers['SUBJECT']);
|
||||
$subject = str_replace('$$','__',felamimail_bo::decode_header($headers['SUBJECT']));
|
||||
header ("Content-Type: message/rfc822; name=\"". $subject .".eml\"");
|
||||
header ("Content-Disposition: attachment; filename=\"". $subject .".eml\"");
|
||||
header("Expires: 0");
|
||||
|
Loading…
Reference in New Issue
Block a user