mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
@@ -43,6 +43,8 @@ Breaking changes
|
|||||||
Features
|
Features
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
|
||||||
|
* **Mailgun:** Document how to use new European region. (This works in earlier
|
||||||
|
Anymail versions, too.)
|
||||||
* **Postmark:** Add support for Anymail's normalized `metadata` in sending
|
* **Postmark:** Add support for Anymail's normalized `metadata` in sending
|
||||||
and webhooks.
|
and webhooks.
|
||||||
|
|
||||||
|
|||||||
@@ -62,8 +62,17 @@ The base url for calling the Mailgun API. It does not include
|
|||||||
the sender domain. (Anymail :ref:`figures this out <mailgun-sender-domain>`
|
the sender domain. (Anymail :ref:`figures this out <mailgun-sender-domain>`
|
||||||
for you.)
|
for you.)
|
||||||
|
|
||||||
The default is ``MAILGUN_API_URL = "https://api.mailgun.net/v3"``
|
The default is ``MAILGUN_API_URL = "https://api.mailgun.net/v3"``, which connects
|
||||||
(It's unlikely you would need to change this.)
|
to Mailgun's US service. You must override this if you are using Mailgun's European
|
||||||
|
region:
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
ANYMAIL = {
|
||||||
|
"MAILGUN_API_KEY": "...",
|
||||||
|
"MAILGUN_API_URL": "https://api.eu.mailgun.net/v3",
|
||||||
|
# ...
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.. _mailgun-sender-domain:
|
.. _mailgun-sender-domain:
|
||||||
|
|||||||
Reference in New Issue
Block a user