mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
#bugfix: wrong contact address, when converting emails out of the sent-folder
if a message is converted to infolog, and it is located within the sent-folder the to-address is now applied as contact address.
This commit is contained in:
parent
1585195b98
commit
c683175b1b
@ -1363,7 +1363,7 @@ class uiinfolog
|
||||
$bodyParts = $bofelamimail->getMessageBody($uid,'text/plain',$partid);
|
||||
$attachments = $bofelamimail->getMessageAttachments($uid,$partid);
|
||||
|
||||
if ($mailbox == 'Sent') $mailaddress = $bofelamimail->decode_header($headers['TO']);
|
||||
if ($bofelamimail->isSentFolder($mailbox)) $mailaddress = $bofelamimail->decode_header($headers['TO']);
|
||||
elseif (isset($headers['FROM'])) $mailaddress = $bofelamimail->decode_header($headers['FROM']);
|
||||
elseif (isset($headers['SENDER'])) $mailaddress = $bofelamimail->decode_header($headers['SENDER']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user