-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix(MailCollector): Use IMAP global folder names instead of localized display names in OAuth IMAP collector #21828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix(MailCollector): Use IMAP global folder names instead of localized display names in OAuth IMAP collector #21828
Conversation
|
@lheureuxj2 have you reconfigurer folder ? |
|
what you mean ? |
|
Can you reconfigure folder configuration I think data saved on DB are Always use local name Maybe you need to delete / create new receiver |
|
I deleted the collector and created a new one with the same auth2 from your plugin, and I just cleared the cache, but I still get the same error.
|

Checklist before requesting a review
Please delete options that are not relevant.
Description
This PR fixes an issue where the OAuth IMAP plugin fails to open folders when the mailbox language is not English (e.g., French, German, etc.).
Previously, the plugin used the localized folder name (e.g. “Boîte de réception”) instead of the IMAP global name (e.g. “INBOX”) when selecting folders.
This caused the collector to fail with:
Updated folder selection logic to rely on the
data-globalnameattribute instead of the localized display name (local_name).Screenshots (if appropriate):