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

Support for transactional template in Sendgrid v6 #68

Merged
merged 2 commits into from
Aug 24, 2020

Conversation

MattFanto
Copy link
Contributor

Sendgrid v6 transaction template has different requirements than the standard email.
Basically content field should not be set otherwise we end-up with plain text email and subject is ignored as well (it should be set as field in dynamic_template_data e.g. {{ subject }}).

In test_mail.py you can find some lines of code to verify this new behaviour and the compatibility with non-transactional mail

@MattFanto
Copy link
Contributor Author

This issue should solve #62

Copy link
Owner

@sklarsa sklarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fantastic! I'll push this release to pypi later tonight, once this PR is merged

@sklarsa sklarsa merged commit 1bcf544 into sklarsa:master Aug 24, 2020
@MattFanto
Copy link
Contributor Author

This looks fantastic! I'll push this release to pypi later tonight, once this PR is merged

Great thanks for merging it!

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.

2 participants