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

Raise an error when folder selection is unsuccessful #242

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Raise an error when folder selection is unsuccessful #242

merged 1 commit into from
Apr 16, 2024

Conversation

snowwm
Copy link
Contributor

@snowwm snowwm commented Dec 6, 2023

Fixes #38.
Now, if you try to search a nonexistent folder, you get the error message that was returned by the mail server instead of a misleading message "command SEARCH illegal in state AUTH, only allowed in states SELECTED". My server returns "[NONEXISTENT] Folder not exists".

@martinrusev martinrusev merged commit df26574 into martinrusev:master Apr 16, 2024
@snowwm
Copy link
Contributor Author

snowwm commented Apr 16, 2024

Thanks ❤️

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.

error: command SEARCH illegal in state AUTH, only allowed in states SELECTED
2 participants