This commit is contained in:
the-djmaze 2023-04-04 10:36:28 +02:00
parent 2e0fc1585d
commit ea8a9a0741

View file

@ -1068,7 +1068,7 @@ class Actions
{ {
$oAccount = $this->getAccountFromToken(); $oAccount = $this->getAccountFromToken();
if (!$this->ImapClient()->IsLoggined()) { if ($oAccount && !$this->ImapClient()->IsLoggined()) {
try { try {
$oAccount->ImapConnectAndLogin($this->oPlugins, $this->ImapClient(), $this->oConfig); $oAccount->ImapConnectAndLogin($this->oPlugins, $this->ImapClient(), $this->oConfig);
} catch (\MailSo\Net\Exceptions\ConnectionException $oException) { } catch (\MailSo\Net\Exceptions\ConnectionException $oException) {