...
|
...
|
@@ -614,18 +614,19 @@ class SyncMail { |
|
|
// 更新的就不需要操作body了
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 退信拿body
|
|
|
if ($item->getFolderName()=='INBOX'&&stripos($data['subject'], '退信')){
|
|
|
$isBody = true;
|
|
|
}else{
|
|
|
if(isAiAutoMail($data['from'],$data['subject'])===1){
|
|
|
// 更新的就不需要操作body了
|
|
|
continue;
|
|
|
}
|
|
|
if(php_sapi_name()=='cli') {
|
|
|
// 退信拿body
|
|
|
if ($item->getFolderName() == 'INBOX' && stripos($data['subject'], '退信')) {
|
|
|
$isBody = true;
|
|
|
} else {
|
|
|
if (isAiAutoMail($data['from'], $data['subject']) === 1) {
|
|
|
// 更新的就不需要操作body了
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//TODO 如果header 头信息里面有2段数据 第二段就作为内容解析
|
|
|
if($item->header->body()){
|
|
|
$parseBody = $item->header->body();
|
...
|
...
|
|