Open
Bug 314861
Opened 19 years ago
Updated 2 years ago
When new Profile is made, the displayed port number of the smtp server is zero
Categories
(MailNews Core :: Account Manager, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: sugar.waffle, Unassigned)
References
Details
Attachments
(1 file)
55.08 KB,
image/png
|
Details |
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)
Comment 2•19 years ago
|
||
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
Updated•17 years ago
|
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).
Comment 4•17 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
Comment 5•17 years ago
|
||
This is really a "core" issue, because the exact same thing happens in SeaMonkey (on the trunk).
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 }
Updated•16 years ago
|
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•16 years ago
|
Assignee: mscott → nobody
WADA, can you still reproduce this in TB13?
Product: Thunderbird → MailNews Core
QA Contact: account-manager → account-manager
Version: 2.0 → 1.9.2 Branch
Comment 10•2 years ago
|
||
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•