Use TLS instead of SSL authentication in IMAP connection

This commit is contained in:
Nik 2020-07-05 22:11:00 +02:00
parent f54e5e65c9
commit 95b822f000
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {