作者 邓超

优化

... ... @@ -99,6 +99,19 @@ class SyncMail {
protected $isBody = null;
/**
* 超时设置
* @param int $timeOut
* @return $this
* @author:dc
* @time 2026/6/3 10:56
*/
public function setTimeOut(int $timeOut)
{
$this->imap->client->setTimeOut($timeOut);
return $this;
}
public function stop(){
$this->isStop = true;
... ...