Closed Bug 113525 Opened 23 years ago Closed 23 years ago

Drafts Sent and Templates not created as subfolder of inbox

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 27002

People

(Reporter: brianc, Assigned: racham)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6+)
Gecko/20011127
BuildID:    2001112703


Split off from bug 108229

[not sure if this is the correct component]

When preference option Save sent messages to Sent on [imap host] (the default)
is selected, evidence from snoop confirms that sent messages are attempted to be
stored in "Sent" instead of "INBOX.Sent"

In the case of the Courier Imap server (and maybe others?), all folders MUST be
subfolders of INBOX, so it is impossible to have a Sent folder at the same level
as the Inbox, so the default should be INBOX.Sent.

The same applies for Drafts and Templates.

When the user tries to send a mail, or save as draft or template, the message
they get is (from memory) 'server responded with invalid mailbox name' or
something to this effect.  Moz tries to create the folder if it doesn't exist,
but can't as it is an illegal name.

Because the preferences for Copies and Folders aren't being saved at present
(see the aforementioned bug) it means it is impossible to save sent mail, drafts
or templates.

Workaround:

Close Moz and edit prefs.js:

Change:
user_pref("mail.identity.id1.draft_folder", "imap://user@IMAPHOST/Drafts");
user_pref("mail.identity.id1.fcc_folder", "imap://user@IMAPHOST/Sent");
user_pref("mail.identity.id1.stationery_folder", "imap://user@IMAPHOST/Templates");

to:
user_pref("mail.identity.id1.draft_folder", "imap://user@IMAPHOST/INBOX.Drafts");
user_pref("mail.identity.id1.fcc_folder", "imap://user@IMAPHOST/INBOX.Sent");
user_pref("mail.identity.id1.stationery_folder",
"imap://user@IMAPHOST/INBOX.Templates");

(where user and IMAPHOST are installation-specific)



Reproducible: Always
Steps to Reproduce:
1. rename prefs.js and liprefs.js to something else (with Moz not running)
2. Start Moz and add a new account
3. Try to send a mail

Actual Results:  
Send will succeed, but mail will not be saved to sent mail folder and error
message from server will result.

Expected Results:  
Save mail to Sent folder.



Information about these preferences was found in
http://www.mozilla.org/mailnews/arch/accountmanager.html
This document should be made easier to find or merged into the Customizing
Mozilla document to make it easier to fix the preferences (but note that
stationery is incorrectly spelled stationary in accountmanager.html).
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: nbaca → huang

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