作者 邓超

m

@@ -97,7 +97,7 @@ class Msg extends Request{ @@ -97,7 +97,7 @@ class Msg extends Request{
97 */ 97 */
98 public function search(ImapSearch $search):static { 98 public function search(ImapSearch $search):static {
99 $this->folder->exec(); // 防止在其他文件夹下面 99 $this->folder->exec(); // 防止在其他文件夹下面
100 - $this->cmd("UID SEARCH ",$search->toString()); 100 + $this->cmd("UID SEARCH %s",$search->toString());
101 $uids = []; 101 $uids = [];
102 foreach ($this->result as $item){ 102 foreach ($this->result as $item){
103 // 匹配uid * SEARCH 2 84 882 103 // 匹配uid * SEARCH 2 84 882