diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-01-18 14:09:43 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-01-18 14:09:43 -0500 |
commit | 22198ec1941581b09dc4b3f76702a6b744eab818 (patch) | |
tree | 663ea098e4f78bf1c49fbce71482d139c138950a /mailnews/base/prefs/content | |
parent | c137a4045cbfcbd5a39f018b553089e0fd571d2c (diff) | |
download | UXP-22198ec1941581b09dc4b3f76702a6b744eab818.tar UXP-22198ec1941581b09dc4b3f76702a6b744eab818.tar.gz UXP-22198ec1941581b09dc4b3f76702a6b744eab818.tar.lz UXP-22198ec1941581b09dc4b3f76702a6b744eab818.tar.xz UXP-22198ec1941581b09dc4b3f76702a6b744eab818.zip |
Issue #1358 - Default to SSL/TLS when using the Account Wizard
Diffstat (limited to 'mailnews/base/prefs/content')
-rw-r--r-- | mailnews/base/prefs/content/aw-incoming.js | 5 |
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; |