Mailgun: Support stored templates

Add support for Mailgun's new template option

Fixes #155
This commit is contained in:
Ansel Santosa
2019-07-30 10:50:42 -07:00
committed by Mike Edmunds
parent df3d577b41
commit 73a73ea01f
3 changed files with 9 additions and 9 deletions

View File

@@ -233,14 +233,10 @@ Limitations and quirks
.. _mailgun-templates:
Batch sending/merge and ESP templates
Batch sending/merge
-------------------------------------
Mailgun does not offer :ref:`ESP stored templates <esp-stored-templates>`,
so Anymail's :attr:`~anymail.message.AnymailMessage.template_id` message
attribute is not supported with the Mailgun backend.
Mailgun *does* support :ref:`batch sending <batch-send>` with per-recipient
Mailgun supports :ref:`batch sending <batch-send>` with per-recipient
merge data. You can refer to Mailgun "recipient variables" in your
message subject and body, and supply the values with Anymail's
normalized :attr:`~anymail.message.AnymailMessage.merge_data`