作者 邓超

x

@@ -351,7 +351,12 @@ class Mail { @@ -351,7 +351,12 @@ class Mail {
351 351
352 if($isBlacklist && $blackFolder){ 352 if($isBlacklist && $blackFolder){
353 // 移入垃圾箱 353 // 移入垃圾箱
354 - $this->client->move($result['UID'],$blackFolder); 354 + try {
  355 + $this->client->move($result['UID'],$blackFolder);
  356 + }catch (\Throwable $e){
  357 + logs('移动邮件失败 '.$result['UID'].':'.$e->getMessage().$e->getTraceAsString());
  358 + }
  359 +
355 continue; 360 continue;
356 } 361 }
357 } 362 }