iCloud default "Archive" folder selection in settings
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: yosukematsumura, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Steps to reproduce:
When setting up an iCloud email account, certain folder defaults are selected automatically to match the naming conventions in Apple's mail service. For example, the default Sent folder is named "Sent Messages", and is selected automatically when an iCloud account is set up.
However, the Archive folder is set up using the default "Archives" folder. In iCloud, the correct folder name is "Archive" (non-plural).
Actual results:
As a result, when using the default settings after configuring an iCloud account and choosing to archive a message, a new "Archives" folder is created in the mail account.
Expected results:
Ideally, TB should use the already existing "Archive" folder as the default folder for Archives.
| Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•1 year ago
|
||
Yes, icloud doesn't set the \Archive flag for the folder (but it does e.g. for Sent)
2025-05-26 07:42:09.616007 UTC - [Parent 102002: IMAP]: I/IMAP 70a97f7c9d00:imap.mail.me.com:A:CreateNewLineFromSocket: * LIST () "/" "Archive"
2025-05-26 07:42:09.616015 UTC - [Parent 102002: IMAP]: I/IMAP 70a97f7c9d00:imap.mail.me.com:A:CreateNewLineFromSocket: * LIST (\Trash) "/" "Deleted Messages"
2025-05-26 07:42:09.616049 UTC - [Parent 102002: IMAP]: I/IMAP 70a97f7c9d00:imap.mail.me.com:A:CreateNewLineFromSocket: * LIST (\Sent) "/" "Sent Messages"
Given it's a huge provider, maybe we should still do something to set the flag.
Perhaps a fallback around here: https://searchfox.org/comm-central/rev/d47477dd2b4d50bceefe73259d7825b8fab73b1e/mailnews/imap/src/nsImapProtocol.cpp#7618
Description
•