...
|
...
|
@@ -590,6 +590,7 @@ class Home extends Base { |
|
|
public function expunge(){
|
|
|
$email = $this->getEmail();
|
|
|
$mailInstance = new Mail($email['email'],base64_decode($email['password']),$email['imap']);
|
|
|
$mailInstance->login();
|
|
|
if($mailInstance->expunge()){
|
|
|
app()->_json([]);
|
|
|
}
|
...
|
...
|
|