Closed Bug 83682 Opened 24 years ago Closed 24 years ago

send later when the local mail folder directory doesn't exist silently fails

Categories

(SeaMonkey :: MailNews: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jud, Assigned: Bienvenu)

Details

Attachments

(1 file)

I got into a situation where my local mail folder directory doesn't exist. I wrote some mail in offline mode, then went online to send it. It appears as though at no point was a mail message actually written out to disk (the directory was never created, let alone an unsent message on disk), yet I never had indication of failure. Ideally we should be forcing the recursive mail directory creation if for whatever reason it doesn't exist when send later is envoked.
cc'ing Seth and Navin for review. The upcoming patch will cause an error to get displayed, though it's not the right error (that would be up to JF - with my patch, we display the message that the send succeeded but the copy to the sent folder failed, even though we're offline and doing a send later- I'll file a bug on that in a minute). To recreate this bug, rename your Local Folders directory to Local Folders2 using the Windows File System Explorer, start up mozilla, go offline, compose a new msg, and do a send later. W/o this fix, it just silently fails. with this fix, you'll get the message I mentioned above.
Status: NEW → ASSIGNED
Attached patch proposed fixSplinter Review
r=naving
Adding nsenterprise keyword. Is this just for a missing local folders or will this affect any situation where the sent folder doesn't exist?
Keywords: nsenterprise
just local folders; we'll create the online imap folder.
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I am assuming this is only a Window's bug? I noticed this doesn't work in Mac or Linux?
no, it should be an xp bug.
OS: Windows 2000 → All
Hardware: PC → All
Commercial builds: 2001-08-15-09-trunk/ - nt 4.0 2001-08-15-14-trunk- linux 2.2, mac 9.0.4 Verified if you rename the Locals Folder directory to new name, that when you do a send later, a error message will appear (albeit the wrong error message) "The send was successful, but copying to sent folder failed.." On Mac it is very tricky to rename Local Folders directory. As if you rename it, the Local Directory Path in Edit|Mail/News Account settings|Local Fodlers gets updated in real time so I could not reproduce the error message. If I renamed it, it would automatically map to the new folder name. The only way I could test this, was to delete the Local Folder's directory. Marking as verified.
Status: RESOLVED → VERIFIED
QA, can you re-verify this bug with a more recent buid (like today's). You should now get a more valid error message. If it's not the case, you should file a new bug. Thanks
Jean-Francois, I checked with these builds: Commercial builds 2001082008 - win nt 4.0 2001082108 - linux 2.2, mac 9.0.4 Error message is indeed different now. Will put my comments in your other bug, bug 92251
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: