Closed Bug 41856 Opened 24 years ago Closed 24 years ago

not remembering "always use my username" or "remember my password" in the smtp part of the account manager

Categories

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

x86
All
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 51546

People

(Reporter: sspitzer, Assigned: alecf)

Details

(Whiteboard: [nsbeta3+])

looking at the js in smtpEditOverlay.js, the the code to save those are 
commented out:

function saveSmtpSettings(server)
{
    if (!server) return;

    server.hostname = document.getElementById("smtp.hostname").value;
    //    server.alwaysUseUsername = 
document.getElementById("smtp.alwaysUseUsername").checked;
    server.username = document.getElementById("smtp.username").value;
    //server.savePassword = 
document.getElementById("smtp.savePassword").checked;
    
}

cc'ing laurel, because she'll see this when trying to verify #23062
I have a fix for the first part in my tree as a part of another bug.
Status: NEW → ASSIGNED
Summary: not remembering "always use my password" or "remember my password" in the smtp part of the account manager → not remembering "always use my username" or "remember my password" in the smtp part of the account manager
Target Milestone: --- → M17
moving to M18 and nominating for beta3.
Keywords: nsbeta3
Target Milestone: M17 → M18
QA Contact: lchiang → esther
Adding mail2 nomination keyword for triage effort.
Keywords: mail2
this is fixed, whoops!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Sorry, using builds 2000-09-05 on win98, mac and linux this is not fixed.
It isn't remembered the 1st time and once remembered when you try the 2nd 
time, Send fails.  
Here's what happens:
1. Checking the box for "Always use name and password" and entering a server 
name and user name, then OK'ing and closing and reopeining the dialog, the 
changes you made are not remembered.
2. Opening Account Settings the 2nd time and making the same changes, Ok the 
dialog and recheck.  Now the changes are remembered. 
3. Now with this option checked, Sending mail fails (I tested a dredd IMAP 
account).  Status contiues to show "Sending message..." never "Copy complete". 
Changing back to unchecked Send works. 

Scenario,
1. Launch Seamonkey
2. Launch Mail (I uses 3qatest07 an imap account)
3. Select Account settings 
4. Select Outgoing (SMTP) Server
5. Check the box for "Always use name and password", Enter a user name and 
server name.
6. OK the dialog.
7. Reopen Account Settings to check on your changes, 
Result: Settings not saved
Expected: Settings to be saved.
8. Set the settings again, and OK the dialog
Result: Setting appear as saved
9. Send a message usinging that server
Result:  Sending silently fails, no error.  Status doesn't change from "Sending 
message" until you click on something else.  Message never arrives.
reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
esther, are there any errors reported to the console?
OK, here's what the console says:
1st opening of Outgoing server dialog:
Faile to load file: 
//home/goes/sea0905/chrome/packages/messenger/messenger/content/am-smtp-js
Javascript error:
chrome://messenger/content/smtpEditOverlay.js  line 81:  gSmtpUsername has no 
properties
ERROR: am-smtp.xul hasn't loaded yet!  Not saving
2nd launch of Outgoing Server dialog:
got a request
gSmtpAuthMethod = <text>
gSmtpAuthMethod.value =0
Saving to null
am-smtp-js  should be am-smtp.js
nsbeta3+, P2.
Priority: P3 → P2
Whiteboard: [nsbeta3+]
this is a duplicate of #51546 (which I have a fix for.)

*** This bug has been marked as a duplicate of 51546 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
VERIFIED DUP of 51546.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.