作者 邓超

bug

... ... @@ -347,7 +347,7 @@ class Imap {
}
// 获取搜索到的 uid
$result = $this->request($cmd);
$result = $this->request(str_replace("\n","",$cmd));
if($result[0] != 'ok'){
throw new \Exception('search error:'.end($result[1]));
... ... @@ -1057,7 +1057,7 @@ class Imap {
$tag = $this->getNextTag();
// 命令行必须要结束换行
$cmd = trim($tag.' '.$cmd);
$cmd = str_replace("\n","",trim($tag.' '.$cmd));
// 记录日志
$this->log($cmd);
... ...