support CC in import of saved email-messages too

This commit is contained in:
Klaus Leithoff 2009-11-28 18:55:26 +00:00
parent 0473f987ad
commit 8de55a88f4

View File

@ -1511,7 +1511,8 @@ class infolog_ui
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']);
if (isset($headers['CC'])) $mailaddress .= ','.$headers['CC'];
//_debug_array($headers);
$subject = $bofelamimail->decode_header($headers['SUBJECT']);
$message = self::getdisplayableBody($bofelamimail, $bodyParts);