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

Allow sender to immediately hangup after QUIT message #344

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mworrell
Copy link
Collaborator

@mworrell mworrell commented Nov 7, 2024

This fixes a problem where the gen_smtp_server crashes if the client sends a QUIT message and immediately hangs up before the "221 Bye" can be send. This is done by ignoring any send errors.

In the client: be a bit more subtle when receiving funky multiline replies. Do not immediately crash but just throw an "unexpected_response" exception.

Use OTP 25 for docs build, as ex_doc requires it.

@mworrell mworrell self-assigned this Nov 7, 2024
@mworrell mworrell added this to the 1.3 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant