Skip to content
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

Adjust ImapFolder.Create(Async) to document ArgumentException fully #1789

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

rklec
Copy link
Contributor

@rklec rklec commented Aug 7, 2024

ArgumentException is apparently not only thrown when the name is empty, but also when the server rejects it, because it e.g. has a directory separator char in it.

See https://stackoverflow.com/questions/78844815/how-to-create-or-get-folders-in-mailkit-with-multiple-sub-folders-when-they-ar/78844857 for details.

…case

ArgumentException is apparently not only thrown when the `name` is empty, but also when the server rejects it, because it e.g. has a directory separator char in it.

See https://stackoverflow.com/questions/78844815/how-to-create-or-get-folders-in-mailkit-with-multiple-sub-folders-when-they-ar/78844857#78844857 for details.
@rklec rklec changed the title Adjust ImapFolder.Create(Async) to document proper case Adjust ImapFolder.Create(Async) to document ArgumentException fully Aug 7, 2024
@jstedfast jstedfast merged commit 07f8e19 into jstedfast:master Aug 7, 2024
5 of 6 checks passed
@rklec rklec deleted the patch-1 branch August 7, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants