正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -590,6 +590,7 @@ class Home extends Base { | @@ -590,6 +590,7 @@ class Home extends Base { | ||
590 | public function expunge(){ | 590 | public function expunge(){ |
591 | $email = $this->getEmail(); | 591 | $email = $this->getEmail(); |
592 | $mailInstance = new Mail($email['email'],base64_decode($email['password']),$email['imap']); | 592 | $mailInstance = new Mail($email['email'],base64_decode($email['password']),$email['imap']); |
593 | + $mailInstance->login(); | ||
593 | if($mailInstance->expunge()){ | 594 | if($mailInstance->expunge()){ |
594 | app()->_json([]); | 595 | app()->_json([]); |
595 | } | 596 | } |
-
请 注册 或 登录 后发表评论