作者 邓超

优化

@@ -99,6 +99,19 @@ class SyncMail { @@ -99,6 +99,19 @@ class SyncMail {
99 99
100 protected $isBody = null; 100 protected $isBody = null;
101 101
  102 + /**
  103 + * 超时设置
  104 + * @param int $timeOut
  105 + * @return $this
  106 + * @author:dc
  107 + * @time 2026/6/3 10:56
  108 + */
  109 + public function setTimeOut(int $timeOut)
  110 + {
  111 + $this->imap->client->setTimeOut($timeOut);
  112 + return $this;
  113 + }
  114 +
102 115
103 public function stop(){ 116 public function stop(){
104 $this->isStop = true; 117 $this->isStop = true;