mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fixed ishues found by jerryr: Subject was not working and saving from subfolders was not working
This commit is contained in:
parent
b3640356f3
commit
68639c69f8
@ -1174,6 +1174,7 @@ class uiinfolog
|
|||||||
$bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
$bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
||||||
$bopreferences =& CreateObject('felamimail.bopreferences');
|
$bopreferences =& CreateObject('felamimail.bopreferences');
|
||||||
$bofelamimail->openConnection();
|
$bofelamimail->openConnection();
|
||||||
|
$bofelamimail->reopen($mailbox);
|
||||||
|
|
||||||
$headers = $bofelamimail->getMessageHeader($uid);
|
$headers = $bofelamimail->getMessageHeader($uid);
|
||||||
$bodyParts = $bofelamimail->getMessageBody($uid,'');
|
$bodyParts = $bofelamimail->getMessageBody($uid,'');
|
||||||
@ -1181,8 +1182,8 @@ class uiinfolog
|
|||||||
|
|
||||||
if (isset($headers['FROM'])) $mailaddress = $bofelamimail->decode_header($headers['FROM']);
|
if (isset($headers['FROM'])) $mailaddress = $bofelamimail->decode_header($headers['FROM']);
|
||||||
elseif (isset($headers['SENDER'])) $mailaddress = $bofelamimail->decode_header($headers['SENDER']);
|
elseif (isset($headers['SENDER'])) $mailaddress = $bofelamimail->decode_header($headers['SENDER']);
|
||||||
|
|
||||||
$subject = $bofelamimail->decode_header($headers->Subject);
|
$subject = $bofelamimail->decode_header($headers['SUBJECT']);
|
||||||
|
|
||||||
for($i=0; $i<count($bodyParts); $i++)
|
for($i=0; $i<count($bodyParts); $i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user