Merge pull request #1056 from nextcloud/fix/mail-account-setup-error
Set imap port type - Fixes Gmail account setup error
This commit is contained in:
Коммит
7e2619479c
|
@ -145,7 +145,7 @@ class IspDbConfigurationDetector {
|
|||
*/
|
||||
private function testImapConfiguration(array $imap, string $email, string $password, string $name) {
|
||||
$host = $imap['hostname'];
|
||||
$port = $imap['port'];
|
||||
$port = (int) $imap['port'];
|
||||
$encryptionProtocol = 'none';
|
||||
if ($imap['socketType'] === 'SSL') {
|
||||
$encryptionProtocol = 'ssl';
|
||||
|
|
Загрузка…
Ссылка в новой задаче