|
@@ 715-715 (lines=1) @@
|
| 712 |
|
ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' gather Attachments for BodyCreation of/for MessageID:'.$uid.' found:'.count($attachments)); |
| 713 |
|
foreach((array)$attachments as $key => $attachment) |
| 714 |
|
{ |
| 715 |
|
if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' Key:'.$key.'->'.array2string($attachment)); |
| 716 |
|
$attachmentNames .= $attachment['name']."\n"; |
| 717 |
|
$attachmentData = $this->mail->getAttachment($uid, $attachment['partID'],0,false,false,$folder); |
| 718 |
|
/*$x =*/ $mailObject->AddStringAttachment($attachmentData['attachment'], $attachment['name'], $attachment['mimeType']); |
|
@@ 901-901 (lines=1) @@
|
| 898 |
|
//$rawHeaders = $this->mail->getMessageRawHeader($id); |
| 899 |
|
// simple style |
| 900 |
|
// start AS12 Stuff (bodypreference === false) case = old behaviour |
| 901 |
|
if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__. ' for message with ID:'.$id.' with headers:'.array2string($headers)); |
| 902 |
|
|
| 903 |
|
if ($bodypreference === false) { |
| 904 |
|
$bodyStruct = $this->mail->getMessageBody($id, 'only_if_no_text', '', null, true,$_folderName); |
|
@@ 1117-1117 (lines=1) @@
|
| 1114 |
|
//error_log(__METHOD__.__LINE__.array2string($attachments)); |
| 1115 |
|
foreach ($attachments as $key => $attach) |
| 1116 |
|
{ |
| 1117 |
|
if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' Key:'.$key.'->'.array2string($attach)); |
| 1118 |
|
|
| 1119 |
|
// pass meeting requests to calendar plugin |
| 1120 |
|
if (strtolower($attach['mimeType']) == 'text/calendar' && strtolower($attach['method']) == 'request' && |
|
@@ 1483-1483 (lines=1) @@
|
| 1480 |
|
{ |
| 1481 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to process:'.$vars['uid'].' Subject:'.$vars['subject']); |
| 1482 |
|
$headers[$vars['uid']] = $vars; |
| 1483 |
|
if ($this->debugLevel>3) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' MailID:'.$k.'->'.array2string($vars)); |
| 1484 |
|
if (!empty($vars['deleted'])) continue; // cut of deleted messages |
| 1485 |
|
if ($cutoffdate && $vars['date'] < $cutoffdate) continue; // message is out of range for cutoffdate, ignore it |
| 1486 |
|
if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' ID to report:'.$vars['uid'].' Subject:'.$vars['subject']); |