mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Resolve #1060
This commit is contained in:
parent
2e0fc1585d
commit
ea8a9a0741
1 changed files with 1 additions and 1 deletions
|
@ -1068,7 +1068,7 @@ class Actions
|
|||
{
|
||||
$oAccount = $this->getAccountFromToken();
|
||||
|
||||
if (!$this->ImapClient()->IsLoggined()) {
|
||||
if ($oAccount && !$this->ImapClient()->IsLoggined()) {
|
||||
try {
|
||||
$oAccount->ImapConnectAndLogin($this->oPlugins, $this->ImapClient(), $this->oConfig);
|
||||
} catch (\MailSo\Net\Exceptions\ConnectionException $oException) {
|
||||
|
|
Loading…
Reference in a new issue