From 22198ec1941581b09dc4b3f76702a6b744eab818 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 18 Jan 2020 14:09:43 -0500 Subject: Issue #1358 - Default to SSL/TLS when using the Account Wizard --- mailnews/base/prefs/content/aw-incoming.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mailnews/base/prefs/content') diff --git a/mailnews/base/prefs/content/aw-incoming.js b/mailnews/base/prefs/content/aw-incoming.js index fcc063fed..5ea0c77ae 100644 --- a/mailnews/base/prefs/content/aw-incoming.js +++ b/mailnews/base/prefs/content/aw-incoming.js @@ -158,7 +158,10 @@ function setServerType() var serverType = document.getElementById("servertype").value; var deferStorageBox = document.getElementById("deferStorageBox"); var leaveMessages = document.getElementById("leaveMsgsOnSrvrBox"); - var port = serverType == "pop3" ? 110 : 143; + + // pop3 110 (unsecure) 995 (SSL) + // imap 143 (unsecure) 993 (SSL) + var port = serverType == "pop3" ? 995 : 993; document.getElementById("serverPort").value = port; document.getElementById("defaultPortValue").value = port; -- cgit v1.2.3