From 4e7c7ddecdfd219c28a0d5cdfdf54bb0905fdfaf Mon Sep 17 00:00:00 2001 From: Nirvana <168984811+nirvanameow@users.noreply.github.com> Date: Fri, 16 May 2025 20:59:16 +0100 Subject: [PATCH] Update add_mail_acc.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I noticed that the ssl option in the mail configuration UI sets the IMAP port to 993, which is correct for IMAP over SSL/TLS (IMAPS). However, when verifying an email account in Gmail’s "Check mail from other accounts" feature, port 993 didn’t work because Gmail requires POP3 over SSL/TLS on port 995 (POP3S). This caused confusion since the UI labels this as "IMAP Port," but users may need POP3 for certain setups like Gmail. --- web/js/pages/add_mail_acc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/pages/add_mail_acc.js b/web/js/pages/add_mail_acc.js index 3a921202..fa770e3f 100644 --- a/web/js/pages/add_mail_acc.js +++ b/web/js/pages/add_mail_acc.js @@ -154,7 +154,7 @@ $(document).ready(function() { $('#td_smtp_encryption').html('STARTTLS'); break; case 'ssl': - $('#td_imap_port').html('993'); + $('#td_imap_port').html('993 or 995'); $('#td_imap_encryption').html('SSL / TLS'); $('#td_smtp_port').html('465'); $('#td_smtp_encryption').html('SSL / TLS');