mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix: mail2infolog, wrong contact link when mail from sent folder
This commit is contained in:
parent
2acc48d0ee
commit
3e8c4b1dd3
@ -1244,7 +1244,8 @@ class uiinfolog
|
|||||||
$bodyParts = $bofelamimail->getMessageBody($uid,'text/plain');
|
$bodyParts = $bofelamimail->getMessageBody($uid,'text/plain');
|
||||||
$attachments = $bofelamimail->getMessageAttachments($uid);
|
$attachments = $bofelamimail->getMessageAttachments($uid);
|
||||||
|
|
||||||
if (isset($headers['FROM'])) $mailaddress = $bofelamimail->decode_header($headers['FROM']);
|
if ($mailbox == 'Sent') $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']);
|
elseif (isset($headers['SENDER'])) $mailaddress = $bofelamimail->decode_header($headers['SENDER']);
|
||||||
|
|
||||||
$subject = $bofelamimail->decode_header($headers['SUBJECT']);
|
$subject = $bofelamimail->decode_header($headers['SUBJECT']);
|
||||||
|
Loading…
Reference in New Issue
Block a user