Closed Bug 50454 Opened 24 years ago Closed 24 years ago

Can't add SMTP server

Categories

(SeaMonkey :: MailNews: Account Configuration, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rzach, Assigned: alecf)

Details

(Whiteboard: [nsbeta3+])

Attachments

(1 file)

When I add a second SMTP server, it does not show up in the SMTP server list in
the account manager.

To reproduce:
1. Open account manager
2. Select SMTP servers
3. Click "Advanced"
4. Click "Add"
5. Enter SMTP server address, click OK

Expected result: new server shows up in list
Actual result: no new server entry

Linux build 2000.08.26.08
argh. this dialog hasn't changed in weeks. what happens if you try to 
resize the window? or maybe close the dialog and reopen it? is the server there? 
I'm wondering if it's just a tree refresh problem..
Nope, neither worked.  First time I tried this, so I can't tell if it's
regressed or just never worked.
it definately used to work :)
thanks for the info, I'll poke into it
Status: NEW → ASSIGNED
If this is a problem, we'll want this for the release.   nominate nsbeta3
esther - do you have the same problem?

(hi, Richard - good to see you in bug reports again)
Keywords: nsbeta3
QA Contact: lchiang → esther
+, P1 per mail triage
Keywords: mail4
Priority: P3 → P1
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
to pdt: this is a P1 due to loss of functionality. One of the new features we 
advertise for Seamonkey is multiple SMTP support.
Yes, the problem exists on all platforms.  I tested 08-28 builds on win98, linux 
and mac.
PDT agrees P1
I think a js exception is getting thrown here:

function updateControls() {

    dump("Update controls..\n");

    var isSecure = false;
        document.getElementById("smtp.isSecure").checked;


isSecure doesn't seem to be a method on the smtp server.
that's commented out in the current tip..
Sorry, I haven't had a chance to look at this yet
Ok, I have a fix for this.
Assignee: alecf → bienvenu
Status: ASSIGNED → NEW
Attached patch proposed fixSplinter Review
if I take out all the stuff in updateControls, this works again. Can I get an r=?
Status: NEW → ASSIGNED
oh how frustrating - I thought this was commented out in the tip, turns out it's 
commented out in my tree - I must have forgotten to check this in long ago.. go 
ahead and check yours in
r=alecf
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: esther → nbaca
Build 2000-09-15-06M18: NT4, Linux 6.0, Mac 9.04

After step #5 the new SMTP server appears in the list and remains there for the 
current session. 

After exiting and restarting then it disappears. Should I log a new bug? The 
default smtp server is nsmail-2, then I added nsmail-1. After exiting and 
restarting, nsmail-1 is not displaying. I searched for all SMTP entries in the 
prefs file and they are:

user_pref("mail.smtp.defaultserver", "smtp1");
user_pref("mail.smtpserver.smtp1.hostname", "nsmail-2");
user_pref("mail.smtpserver.smtp1.username", "");
user_pref("mail.smtpserver.smtp2.auth_method", 0);
user_pref("mail.smtpserver.smtp2.hostname", "nsmail-1");
user_pref("mail.smtpserver.smtp2.username", "");
user_pref("mail.smtpservers", "smtp1,smtp1,smtp2");

nooo.. not again!! how does this bug keep coming back?!
I dunno. Can you experiement s'more? like adding a few more smtp servers, 
resizing the window, etc? I'll try on this end too.
ugh, I think I figured out part of what's going on - the server is getting
added, but the first time you open the dialog, you only see one server, the
default one. I don't know why.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
back to alec.
Assignee: bienvenu → alecf
Status: REOPENED → NEW
ok,  this is now fixed.
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Build 2000-09-19-05M18: NT4
Build 2000-09-19-08M18: Linux 6.0
Build 2000-09-18-08M18: Mac 9.04
Verified Fixed.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: