Closed
Bug 97486
Opened 24 years ago
Closed 24 years ago
Not clearing out SMTP prefs after deleting an SMTP server
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: mscott, Assigned: mscott)
Details
Attachments
(1 file)
|
2.63 KB,
patch
|
Details | Diff | Splinter Review |
This causes us to use this old information if you later add another SMTP server.
It can sometimes lead to a situation where you are unable to send to this new
sever because of the old settings which are sharing the same prefs name space.
The fix is easy. When the account manager tells the smtp service to delete the
smtp server, we need to iterate over all the prefs for that smtp server and
remove them.
Fix coming. cc'ing Bhuvan because I may have filed this bug on him already.
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
Here's a scenario where you can easily see the problem:
1) Create a new account for say dredd
2) Now create a new webmail or aol account
3) Remove that netcenter / aol account through the account manager
4) In the account manager, click on Outoing servers then on the Advanced button.
Delete the netcenter smtp server.
5) Now quit the app
If you examine your prefs.js file you should still see mail.smtpserver prefs for
the netcenter server. In particular you should see a redirector pref in that list.
Now restart the app.
6) Go back to outgoing server / Advanced.
7) Create a new SMTP server (not webmail. use dredd or nsmail-1)
8) Try sending a message through that SMTP server. You should get a "send
failed" alert because we incorrectly read the stale redirector pref from the
previous server and think it's an aol / netcenter smtp server.
9) If you quit the app and examine your prefs again, you should see your new
smtp server prefs under "mail.smtpserver......". You should see the stale
.redirector pref still in there. Ooops!!!
This patch fixes that.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
Comment 4•24 years ago
|
||
sr=sspitzer
we should consider flushing the prefs file to disk in this case (and the account
manager case).
Updated•24 years ago
|
QA Contact: sheelar → nbaca
Comment 5•24 years ago
|
||
a=asa on behalf of drivers.
| Assignee | ||
Comment 6•24 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 7•24 years ago
|
||
Trunk build 2001-11-09: WinMe, Linux RH 7.1, Mac 9.1
Verified Fixed.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•