正在显示
1 个修改的文件
包含
13 行增加
和
0 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论