|
@@ 972-972 (lines=1) @@
|
| 969 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' never display html(plain text only):'.$body); |
| 970 |
|
} |
| 971 |
|
// whatever format decode (using the correct encoding) |
| 972 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__."MIME Body".' Type:'.($output->nativebodytype==2?' html ':' plain ').$body); |
| 973 |
|
//$body = html_entity_decode($body,ENT_QUOTES,$this->mail->detect_encoding($body)); |
| 974 |
|
// prepare plaintextbody |
| 975 |
|
$plainBody=''; |
|
@@ 1470-1470 (lines=1) @@
|
| 1467 |
|
//if ($_returnModHash) $messageFolderHash = array(); |
| 1468 |
|
foreach ((array)$rv_messages['header'] as $k => $vars) |
| 1469 |
|
{ |
| 1470 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to process:'.$vars['uid'].' Subject:'.$vars['subject']); |
| 1471 |
|
$headers[$vars['uid']] = $vars; |
| 1472 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars)); |
| 1473 |
|
if (!empty($vars['deleted'])) continue; // cut of deleted messages |
|
@@ 1475-1475 (lines=1) @@
|
| 1472 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars)); |
| 1473 |
|
if (!empty($vars['deleted'])) continue; // cut of deleted messages |
| 1474 |
|
if ($cutoffdate && $vars['date'] < $cutoffdate) continue; // message is out of range for cutoffdate, ignore it |
| 1475 |
|
if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to report:'.$vars['uid'].' Subject:'.$vars['subject']); |
| 1476 |
|
$mess = $return_all_headers ? $vars : array(); |
| 1477 |
|
$mess["mod"] = self::doFlagsMod($vars).$vars['date']; |
| 1478 |
|
$mess["id"] = $vars['uid']; |