diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php index f32588d9b..e28259a1a 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -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) {