|
...
|
...
|
@@ -96,6 +96,10 @@ class SyncMail { |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected $isBody = null;
|
|
|
|
|
|
|
|
|
|
|
|
public function stop(){
|
|
|
|
$this->isStop = true;
|
|
|
|
}
|
|
...
|
...
|
@@ -110,6 +114,14 @@ class SyncMail { |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param null $isBody
|
|
|
|
*/
|
|
|
|
public function setIsBody($isBody)
|
|
|
|
{
|
|
|
|
$this->isBody = $isBody;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* 输出日志
|
|
|
|
* @param $msg
|
|
|
|
* @author:dc
|
|
...
|
...
|
@@ -627,6 +639,12 @@ class SyncMail { |
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 全局
|
|
|
|
if($this->isBody!==null){
|
|
|
|
$isBody = $this->isBody;
|
|
|
|
}
|
|
|
|
|
|
|
|
//TODO 如果header 头信息里面有2段数据 第二段就作为内容解析
|
|
|
|
if($item->header->body()){
|
|
|
|
$parseBody = $item->header->body();
|
...
|
...
|
|