Replies: 1 comment 1 reply
-
The problem is that the server isn't quoting the folder name in the response. This is an extremely difficult problem to work around because the parser has no idea how many "words" are part of the folder name if they aren't quoted properly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using MailKit to fetch the status of IMAP folders (e.g., unread count). It works well for most folders, but I'm encountering an issue when the folder name contains a space.
When the folder name contains a space, like
"Folder Name"
, MailKit throws the following error:I didn’t want to open an issue because this seems to be a server-specific problem. The same code works fine with other IMAP servers and the same folder name. On another server where it works, I get the following log:
Is there a workaround to handle folder names with spaces to avoid triggering this error?
Beta Was this translation helpful? Give feedback.
All reactions