From 95b822f0003b86455a52d63e03778f2ff85c45b0 Mon Sep 17 00:00:00 2001 From: panigrc Date: Sun, 5 Jul 2020 22:11:00 +0200 Subject: [PATCH] Use TLS instead of SSL authentication in IMAP connection --- bl-plugins/imap-authentication/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/imap-authentication/plugin.php b/bl-plugins/imap-authentication/plugin.php index dce7d5d6..47fd2f1e 100644 --- a/bl-plugins/imap-authentication/plugin.php +++ b/bl-plugins/imap-authentication/plugin.php @@ -87,7 +87,7 @@ class pluginImapAuthentication extends Plugin { $username = str_replace("%40","@",$username); } - $imapConnection = @imap_open("{{$mailbox}/imap/ssl}INBOX", $username, $password, OP_HALFOPEN, 1); + $imapConnection = @imap_open("{{$mailbox}/imap/tls}INBOX", $username, $password, OP_HALFOPEN, 1); $imapErrors = imap_errors(); $imapAlerts = imap_alerts(); if (!empty($imapErrors)) {