Bug 555105 - SMTP pref dialog should say Port Standard: 587 - not 25. r=Standard8,r=bienvenu
authoraceman <acelists@atlas.sk>
Tue, 13 Dec 2011 13:37:13 +0000
changeset 9979 bcf4d6cb534101be8177ff478d73c0f49e2b6ec2
parent 9978 78ef1297c71dc1a63e895c86c20f972dcf3e46db
child 9980 b1363ce4fd80c3c62fd4a0841d196c8153da95c6
push id336
push userbugzilla@standard8.plus.com
push dateTue, 31 Jan 2012 22:15:45 +0000
treeherdercomm-beta@54945f5d278d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8, bienvenu
bugs555105
Bug 555105 - SMTP pref dialog should say Port Standard: 587 - not 25. r=Standard8,r=bienvenu
mailnews/base/prefs/content/smtpEditOverlay.js
--- a/mailnews/base/prefs/content/smtpEditOverlay.js
+++ b/mailnews/base/prefs/content/smtpEditOverlay.js
@@ -171,17 +171,17 @@ function authMethodChanged(userAction)
  * the |gSmtpSocketType| value, and sets the port to use to this default,
  * if that's appropriate.
  *
  * @param userAction false for dialog initialization,
  *                   true for user action.
  */
 function sslChanged(userAction)
 {
-  const DEFAULT_SMTP_PORT = "25";
+  const DEFAULT_SMTP_PORT = "587";
   const DEFAULT_SMTPS_PORT = "465";
   var socketType = gSmtpSocketType.value;
   var otherDefaultPort;
   var prevDefaultPort = gDefaultPort.value;
 
   if (socketType == Ci.nsMsgSocketType.SSL) {
     gDefaultPort.value = DEFAULT_SMTPS_PORT;
     otherDefaultPort = DEFAULT_SMTP_PORT;