mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Add Mandrill send options auto_html, tracking_domain, signing_domain
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
Release Notes
|
||||
=============
|
||||
|
||||
Version 0.5 (development):
|
||||
|
||||
* Support for Mandrill send options :attr:`auto_html`, :attr:`tracking_domain`
|
||||
and :attr:`signing_domain`.
|
||||
|
||||
|
||||
Version 0.4:
|
||||
|
||||
* Attachments with a Content-ID are now treated as
|
||||
|
||||
@@ -109,6 +109,8 @@ Most of the options from the Mandrill
|
||||
`message` struct can be set directly on an :class:`~django.core.mail.EmailMessage`
|
||||
(or subclass) object:
|
||||
|
||||
.. These attributes are in the same order as they appear in the Mandrill API docs...
|
||||
|
||||
.. attribute:: track_opens
|
||||
|
||||
``Boolean``: whether Mandrill should enable open-tracking for this message.
|
||||
@@ -132,6 +134,11 @@ Most of the options from the Mandrill
|
||||
``Boolean``: whether Mandrill should automatically generate a text body from the HTML.
|
||||
Default from your Mandrill account settings.
|
||||
|
||||
.. attribute:: auto_html
|
||||
|
||||
``Boolean``: whether Mandrill should automatically generate an HTML body from the plaintext.
|
||||
Default from your Mandrill account settings.
|
||||
|
||||
.. attribute:: inline_css
|
||||
|
||||
``Boolean``: whether Mandrill should inline CSS styles in the HTML.
|
||||
@@ -149,6 +156,18 @@ Most of the options from the Mandrill
|
||||
``Boolean``: whether Mandrill should include all recipients in the "to" message header.
|
||||
Default from your Mandrill account settings.
|
||||
|
||||
.. attribute:: tracking_domain
|
||||
|
||||
``str``: domain Mandrill should use to rewrite tracked links and host tracking pixels
|
||||
for this message. Useful if you send email from multiple domains.
|
||||
Default from your Mandrill account settings.
|
||||
|
||||
.. attribute:: signing_domain
|
||||
|
||||
``str``: domain Mandrill should for DKIM signing and SPF on this message.
|
||||
Useful if you send email from multiple domains.
|
||||
Default from your Mandrill account settings.
|
||||
|
||||
.. attribute:: global_merge_vars
|
||||
|
||||
``dict``: merge variables to use for all recipients (most useful with :ref:`mandrill-templates`). ::
|
||||
|
||||
Reference in New Issue
Block a user