summaryrefslogtreecommitdiff
path: root/mailnews/base/prefs/content/aw-incoming.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-06 18:01:15 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-06 18:01:15 +0000
commit3dca4ce612fafed0c027c681152ddb1873830b70 (patch)
tree1bfaaa604c550cb04eb85059da19e5b63c04b82d /mailnews/base/prefs/content/aw-incoming.js
parent329d35ab57451a668331667221eef7352ef04ef6 (diff)
parenta48dabbcba5d72cc76137984797383aecc704de8 (diff)
downloaduxp-3dca4ce612fafed0c027c681152ddb1873830b70.tar.gz
Merge remote-tracking branch 'origin/release' into Basilisk-release
Diffstat (limited to 'mailnews/base/prefs/content/aw-incoming.js')
-rw-r--r--mailnews/base/prefs/content/aw-incoming.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/mailnews/base/prefs/content/aw-incoming.js b/mailnews/base/prefs/content/aw-incoming.js
index fcc063fedb..5ea0c77ae4 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;