mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Prep for 0.8 release
This commit is contained in:
@@ -3,6 +3,8 @@ Release Notes
|
||||
|
||||
Version 0.8 (development):
|
||||
|
||||
* Expose :ref:`mandrill_response` on sent messages
|
||||
|
||||
|
||||
Version 0.7:
|
||||
|
||||
|
||||
@@ -276,13 +276,14 @@ see :class:`DjrillMandrillFeatureTests` in :file:`tests/test_mandrill_send.py` f
|
||||
.. _mandrill-response:
|
||||
|
||||
Mandrill Response
|
||||
---------------------------------
|
||||
-----------------
|
||||
|
||||
A ``mandrill_response`` property is added to each :class:`~django.core.mail.EmailMessage` that you
|
||||
send. This allows you to retrieve message ids, initial status information and more.
|
||||
|
||||
For an EmailMessage that is successfully sent to one or more email addresses, ``mandrill_response`` will
|
||||
be set to a ``list`` of ``dict``, where each entry has info for one email address. See the Mandrill docs for the
|
||||
/messages/send api for full details.
|
||||
`messages/send API <https://mandrillapp.com/api/docs/messages.html#method=send>`_ for full details.
|
||||
|
||||
For example, to get the Mandrill message id for a sent email you might do this::
|
||||
|
||||
@@ -304,6 +305,10 @@ For this example, msg.mandrill_response might look like this::
|
||||
|
||||
If an error is returned by Mandrill while sending the message then ``mandrill_response`` will be set to None.
|
||||
|
||||
.. versionadded:: 0.8
|
||||
mandrill_response available for sent messages
|
||||
|
||||
|
||||
.. _djrill-exceptions:
|
||||
|
||||
Exceptions
|
||||
|
||||
Reference in New Issue
Block a user