作者 邓超

m

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