From 5de2e7a3bd966f52fe7bae02677ce4bcdf526a2a Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 3 Oct 2025 11:36:27 -0400 Subject: [PATCH] If imap Encryption is blank then use notls in the ticket mail parser --- cron/ticket_email_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/ticket_email_parser.php b/cron/ticket_email_parser.php index 34361c46..d82b115c 100644 --- a/cron/ticket_email_parser.php +++ b/cron/ticket_email_parser.php @@ -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