mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixing an en/de- coding issue, regarding the attaching of an .eml file to the infolog in question when converting an email -with german umlauts within the subject line- to infolog and adding the original email to it.
This commit is contained in:
parent
2bd05d6f0d
commit
b11e7f9291
@ -2176,7 +2176,7 @@ class infolog_ui
|
||||
if ($GLOBALS['egw_info']['user']['preferences']['felamimail']['saveAsOptions']==='add_raw')
|
||||
{
|
||||
$message = $bofelamimail->getMessageRawBody($uid, $partid);
|
||||
$headers = $bofelamimail->getMessageHeader($uid, $partid);
|
||||
$headers = $bofelamimail->getMessageHeader($uid, $partid,true);
|
||||
$subject = str_replace('$$','__',($headers['SUBJECT']?$headers['SUBJECT']:lang('(no subject)')));
|
||||
$attachment_file =tempnam($GLOBALS['egw_info']['server']['temp_dir'],$GLOBALS['egw_info']['flags']['currentapp']."_");
|
||||
$tmpfile = fopen($attachment_file,'w');
|
||||
|
Loading…
Reference in New Issue
Block a user