diff options
Diffstat (limited to 'mailnews/base')
-rw-r--r-- | mailnews/base/prefs/content/aw-incoming.js | 5 | ||||
-rw-r--r-- | mailnews/base/search/content/searchWidgets.xml | 2 |
2 files changed, 5 insertions, 2 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; diff --git a/mailnews/base/search/content/searchWidgets.xml b/mailnews/base/search/content/searchWidgets.xml index 69f3b2ae2..1f3960442 100644 --- a/mailnews/base/search/content/searchWidgets.xml +++ b/mailnews/base/search/content/searchWidgets.xml @@ -224,7 +224,7 @@ let identitiesRaw = MailServices.accounts .getIdentitiesForServer(gFilterList.folder.server); let identities = Array.from(this.fixIterator(identitiesRaw, - Ci.nsIMsgIdentity)); + Components.interfaces.nsIMsgIdentity)); if (identities.length == 0) { // typically if this is Local Folders if (MailServices.accounts.defaultAccount) |