...
|
...
|
@@ -5,6 +5,7 @@ namespace Lib\Imap; |
|
|
use Lib\Imap\Request\Folder;
|
|
|
use Lib\Imap\Request\Folders;
|
|
|
use Lib\Imap\Request\Login;
|
|
|
use Lib\Imap\Request\Logout;
|
|
|
use Lib\Imap\Request\Noop;
|
|
|
|
|
|
class Imap {
|
...
|
...
|
@@ -137,4 +138,15 @@ class Imap { |
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function __destruct()
|
|
|
{
|
|
|
// 退出登录
|
|
|
(new Logout($this))->exec();
|
|
|
unset($this->client);
|
|
|
// TODO: Implement __destruct() method.
|
|
|
}
|
|
|
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|