Open Bug 2060425 Opened 7 days ago Updated 4 days ago

Cannot create a subfolder named "Trash" (or the value of mail.server.serverX.trash_folder_name)

Categories

(MailNews Core :: Networking: IMAP, defect)

defect

Tracking

(Not tracked)

People

(Reporter: darktrojan, Unassigned)

References

(Blocks 1 open bug)

Details

If you try to create a folder named exactly "Trash" (or whatever else GetTrashFolderName returns, which may be the value of mail.server.serverX.trash_folder_name) anywhere on an IMAP server, NS_MSG_FOLDER_EXISTS is thrown. I think this is only supposed to happen if the parent is the root folder, but I'm not sure so I'm not intending to fix it right now.

https://searchfox.org/comm-central/rev/72b8ba0761b3881d926be53f77fbf75d5a9316d5/mailnews/imap/src/nsImapMailFolder.cpp#774-780

Blocks: tb153found
You need to log in before you can comment on or make changes to this bug.