Closed
Description
While using EMAIL_BACKEND = 'sparkpost.django.email_backend.SparkPostEmailBackend'
and creating a message like this:
msg = EmailMultiAlternatives(
to=to_list
)
msg.template = template
msg.substitution_data = substitution_data
I've encountered several problem with missing params. After debugging I've found out that template and substitution_data are ignored. becasue they are not considered as a part of SparkPostMessage class. As result _send(self, message)
in SparkPostEmailBackend
is also ignoring those params.
If it's not a bug, then please provide an explanation in documentation how to use SparkPostEmailBackend
and send emails using substitution data and templates.
Metadata
Metadata
Assignees
Labels
No labels