If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

When new Profile is made, the displayed port number of the smtp server is zero

NEW
Unassigned

Status

MailNews Core
Account Manager
--
minor
12 years ago
6 years ago

People

(Reporter: Hiro, Unassigned)

Tracking

1.9.2 Branch
x86
All

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
When POP account is made with a new profile, the port number of the SMTP server is illegally displayed as an account manager. 
(Mail can be sent.)

It should display this by port number 25 of default. 

1.8branch build version 1.5 (20051102)
(Reporter)

Comment 1

12 years ago
Created attachment 201709 [details]
screen shot
Problem was recreated with Thunderbird latest-trunk win32-ZIP build - Thunderbird version 1.6a1 (20051103) and Seamonkey latest-trunk 2005110310/Win32-ZIP build on MS Win-2K.

(1)prefs.js entries after new profile/first account definition
   user_pref("mail.smtp.defaultserver", "smtp1");
   user_pref("mail.smtpserver.smtp1.hostname", "xxx.yyy.zzz");
   user_pref("mail.smtpserver.smtp1.username", "aaa");
   user_pref("mail.smtpservers", "smtp1");
(2)Go to "Outgoing Server(SMTP) Settings"
   "port : 0" is displayed. 
(3)Edit the SMTP entry, and press OK
   "port : 25" is displayed. 
(4)prefs.js entries after (3)
   user_pref("mail.smtp.defaultserver", "smtp1");
   user_pref("mail.smtpserver.smtp1.hostname", "xxx.yyy.zzz");
   user_pref("mail.smtpserver.smtp1.username", "aaa");
   user_pref("mail.smtpservers", "smtp1");
(5)Close "Outgoing Server(SMTP) Settings" panel by pressing OK
   user_pref("mail.smtp.defaultserver", "smtp1");
   user_pref("mail.smtpserver.smtp1.auth_method", 1);
   user_pref("mail.smtpserver.smtp1.hostname", "xxx.yyy.zzz");
   user_pref("mail.smtpserver.smtp1.port", 25);
   user_pref("mail.smtpserver.smtp1.try_ssl", 0);
   user_pref("mail.smtpserver.smtp1.username", "aaa");
   user_pref("mail.smtpservers", "smtp1");

No problem on SMTP connection as you say "Mail can be sent", because smtp1.auth_method=1 & smtp1.port=25 & smtp1.try_ssl=0 are defaulted if these prefs.js entries are not found for the SMTP.
OS: MacOS X → All
Hardware: Macintosh → PC
Summary: When new Profile is made, the port number of the smtp server is illegally displayed. → When new Profile is made, the port number of the smtp server is illegally displayed (port=0 is displayed).

Updated

11 years ago
Duplicate of this bug: 376332

Comment 4

11 years ago
Reproduced on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4pre) Gecko/20070404 Thunderbird/2.0.0.0pre ID:2007040403
Version: 1.5 → 2.0
This is really a "core" issue, because the exact same thing happens in 
SeaMonkey (on the trunk).
Duplicate of this bug: 384188

Comment 7

9 years ago
I'm kind of guessing, but, I think the problem is here:

http://mxr.mozilla.org/thunderbird/source/mailnews/base/prefs/resources/content/smtpEditOverlay.js

65     gSmtpPort = document.getElementById("smtp.port");

76         gSmtpPort.value = server.port ? server.port : "";

In other areas, I see that there is the idea that you set the port to the port value when it is empty:

http://mxr.mozilla.org/thunderbird/source/mailnews/base/prefs/resources/content/am-server.js

181     var defaultPort = protocolInfo.getDefaultServerPort(false);
182     var defaultPortSecure = protocolInfo.getDefaultServerPort(true);
183     var port = document.getElementById("server.port");
184     var portDefault = document.getElementById("defaultPort");

187     if (isSecureSelected) {
188       portDefault.value = defaultPortSecure;
189       if (port.value == "" || (port.value == defaultPort && prevDefaultPort != portDefault.value))
190         port.value = defaultPortSecure;
191     } else {
192         portDefault.value = defaultPort;
193         if (port.value == "" || (port.value == defaultPortSecure && prevDefaultPort != portDefault.value))
194           port.value = defaultPort;
195     } 

Summary: When new Profile is made, the port number of the smtp server is illegally displayed (port=0 is displayed). → When new Profile is made, the displayed port number of the smtp server is zero

Updated

9 years ago
Assignee: mscott → nobody

Comment 8

6 years ago
WADA, can you still reproduce this in TB13?
Component: Account Manager → Account Manager
Product: Thunderbird → MailNews Core
QA Contact: account-manager → account-manager
Version: 2.0 → 1.9.2 Branch
You need to log in before you can comment on or make changes to this bug.