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

Make it clear who is responsible for rejecting messages #215

Open
jakoschiko opened this issue Jun 12, 2024 · 0 comments
Open

Make it clear who is responsible for rejecting messages #215

jakoschiko opened this issue Jun 12, 2024 · 0 comments

Comments

@jakoschiko
Copy link
Collaborator

In some cases imap-next is actively rejecting messages (e.g. imap-next is sending a BAD in case of Error::LiteralTooLong). In other cases the user is responsible for that. The responsibility is not well documented.

Another problem is that the user has no direct access to the tag. We could improve the situation by adding the tag to the error types. Maybe we could even use this for documentation: If the error type contains a tag, then the user is responsible for sending BAD.

@jakoschiko jakoschiko changed the title Make it clear who is resposible for rejecting messages Make it clear who is responsible for rejecting messages Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant