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 handling smtp status code SyntaxError for invalid recipient addresses. #764

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

ErnestasJa
Copy link
Contributor

When sending email with multiple recipients and one or more recipient addresses are not accepted by server the whole email is aborted. In my case it was email with lots of BCC recipients where one of them had invalid email address, the whole email was not delivered.

This PR adds the SmtpStatusCode.SyntaxError case to ProcessRcptToResponse and allows the OnRecipientNotAccepted to handle the error.

@jstedfast jstedfast merged commit fa95e79 into jstedfast:master Oct 3, 2018
@jstedfast jstedfast added the enhancement New feature or request label Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants