mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Resolve #365
This commit is contained in:
parent
98fce17124
commit
c9e7087548
2 changed files with 2 additions and 3 deletions
|
|
@ -1239,9 +1239,6 @@ class Actions
|
|||
} catch (\Throwable $oException) {
|
||||
throw new Exceptions\ClientException(Notifications::AuthError, $oException);
|
||||
}
|
||||
|
||||
$this->MailClient()->ImapClient()->__FORCE_SELECT_ON_EXAMINE__ = !!$this->oConfig->Get('labs', 'use_imap_force_selection');
|
||||
$this->MailClient()->ImapClient()->__DISABLE_METADATA = !!$this->oConfig->Get('labs', 'imap_disable_metadata');
|
||||
}
|
||||
|
||||
return $oAccount;
|
||||
|
|
|
|||
|
|
@ -198,6 +198,8 @@ abstract class Account implements \JsonSerializable
|
|||
public function IncConnectAndLoginHelper(\RainLoop\Plugins\Manager $oPlugins, \MailSo\Mail\MailClient $oMailClient, \RainLoop\Config\Application $oConfig) : bool
|
||||
{
|
||||
$oImapClient = $oMailClient->ImapClient();
|
||||
$oImapClient->__FORCE_SELECT_ON_EXAMINE__ = !!$oConfig->Get('labs', 'use_imap_force_selection');
|
||||
$oImapClient->__DISABLE_METADATA = !!$oConfig->Get('labs', 'imap_disable_metadata');
|
||||
|
||||
$aCredentials = \array_merge(
|
||||
$this->Domain()->ImapSettings(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue