-
Notifications
You must be signed in to change notification settings - Fork 129
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 backend email template variable sending. #10
Comments
it feels over-engineered to have a flow that goes like: Django already has built in templating abilities, why not just use that? just feels like a heavy maintenance cost and lots of surface area for bugs to have to normalize the templating across vendors |
@diwu1989 For the most part I agree with you. The one area that this request tackles well is bulk transactional email sending. It is somewhat specific but has performance efficiency by allowing the ability to scale one ESP call to include a big data set to send out. I do understand that it can lead to more bugs than it's worth. But as long as I communicated it's need then I have done what I can to ask for it. As a solution (for my purposes) I subclassed the |
Mandrill uses a concept called
merge_vars
, SendGrid template variables are calledsubstitutions
, and Postmark has aTemplateModel
concept.While all three services receive template variables differently within their API, they have a common philosophy on setting programmatic key value pairs to leverage on their respective services.
What does that look like via the EmailBackend framework, I am not sure at the moment. However, I think this feature request can fall within the scope of this library.
The text was updated successfully, but these errors were encountered: