If imap Encryption is blank then use notls in the ticket mail parser

This commit is contained in:
johnnyq 2025-10-03 11:36:27 -04:00
parent 6e8c133a99
commit 5de2e7a3bd
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ $validate_cert = true;
// Defaults from settings (standard IMAP)
$host = $config_imap_host;
$port = (int)$config_imap_port;
$encr = !empty($config_imap_encryption) ? $config_imap_encryption : null; // 'ssl'|'tls'|null
$encr = !empty($config_imap_encryption) ? $config_imap_encryption : 'notls'; // 'ssl'|'tls'|'notls'
$user = $config_imap_username;
$pass = $config_imap_password;
$auth = null; // 'oauth' for OAuth providers