mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03: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();
|
$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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue