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

Workaround for postmark inbound test email can not be parsed #309

Conversation

Ecno92
Copy link
Contributor

@Ecno92 Ecno92 commented Apr 21, 2023

Recently we discussed the issue that Postmark's inbound test webhooks are not in the same format as real inbound webhooks.

I have created a workaround for this issue. Now anymail will handle the events without crashing.
Also it will raise a warning, so that the user might consider testing with a real event before going to production.

I did my best to make this change according to the quality standards of this project. If something is missing or changed let me know.

Closes #304

@Ecno92 Ecno92 force-pushed the issue-304-Postmark-inbound-test-email-can-not-be-parsed branch from 953d44b to 43e6715 Compare April 21, 2023 15:34
@medmunds
Copy link
Contributor

This looks great. Thanks!

(The test failures on Python 3.6 aren't related to this PR. They're also failing in the weekly test run, so something outside Anymail has changed.)

@medmunds medmunds merged commit 885eb9b into anymail:main Apr 22, 2023
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.

Postmark inbound test email can not be parsed
2 participants