作者 邓超

1

... ... @@ -268,6 +268,10 @@ class Imap {
*/
public function selectFolder($folder='INBOX'){
if(empty($folder)){
throw new \Exception('select folder('.$folder.') not fount');
}
// 选择文件夹
$result = $this->request("SELECT \"{$folder}\"");
if($result[0] != 'ok'){
... ...