mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Don't disable STARTTLS
This commit is contained in:
parent
2400c6def8
commit
ef5c3f73a5
1 changed files with 1 additions and 2 deletions
|
@ -97,9 +97,8 @@ trait AdminDomains
|
|||
$oSettings = $oDomain->ImapSettings();
|
||||
$oImapClient->Connect($oSettings);
|
||||
$mImapResult = [
|
||||
'connectCapa' => $oImapClient->Capabilities()
|
||||
'connectCapa' => \array_values(\array_diff($oImapClient->Capabilities(), ['STARTTLS']))
|
||||
];
|
||||
|
||||
if (!empty($aAuth['user'])) {
|
||||
$oSettings->Login = $aAuth['user'];
|
||||
$oSettings->Password = $aAuth['pass'];
|
||||
|
|
Loading…
Reference in a new issue