summaryrefslogtreecommitdiffstats
path: root/mailnews/base/prefs/content/aw-incoming.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-19 14:40:01 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-19 14:40:01 +0100
commit71d8ada4a9335075014f41798fa1684be6c148d9 (patch)
treeafa51cb6829c266341496b614d1a03afa378d3f3 /mailnews/base/prefs/content/aw-incoming.js
parente0baeba546f8f45bc1ec981a60b615a28f4142af (diff)
parent22198ec1941581b09dc4b3f76702a6b744eab818 (diff)
downloadUXP-71d8ada4a9335075014f41798fa1684be6c148d9.tar
UXP-71d8ada4a9335075014f41798fa1684be6c148d9.tar.gz
UXP-71d8ada4a9335075014f41798fa1684be6c148d9.tar.lz
UXP-71d8ada4a9335075014f41798fa1684be6c148d9.tar.xz
UXP-71d8ada4a9335075014f41798fa1684be6c148d9.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
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 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;