mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Resolve #604
This commit is contained in:
parent
cd09faa2ac
commit
c7df5b9a3e
1 changed files with 1 additions and 3 deletions
|
@ -1171,11 +1171,9 @@ class Actions
|
|||
*/
|
||||
protected function initMailClientConnection(): ?Model\Account
|
||||
{
|
||||
$oAccount = null;
|
||||
$oAccount = $this->getAccountFromToken();
|
||||
|
||||
if (!$this->MailClient()->IsLoggined()) {
|
||||
$oAccount = $this->getAccountFromToken();
|
||||
|
||||
try {
|
||||
$oAccount->ImapConnectAndLoginHelper($this->oPlugins, $this->MailClient(), $this->oConfig);
|
||||
} catch (\MailSo\Net\Exceptions\ConnectionException $oException) {
|
||||
|
|
Loading…
Reference in a new issue