Allow all extra message headers in send.

Mandrill has relaxed previous API restrictions on headers.
Fixes #58.
This commit is contained in:
medmunds
2014-01-25 11:58:12 -08:00
parent 6ebd5d1342
commit 1e44392b13
4 changed files with 15 additions and 30 deletions

View File

@@ -89,10 +89,11 @@ Some notes and limitations:
Special handling for embedded images
**Headers**
Djrill accepts additional headers, but only ``Reply-To`` and
``X-*`` (since that is all that Mandrill accepts). Any other extra headers
will raise :exc:`~djrill.NotSupportedByMandrillError` when you attempt to send the
message.
Djrill accepts additional headers and passes them along to Mandrill.
.. versionchanged:: 0.9
In earlier versions, Djrill only allowed ``Reply-To`` and ``X-*`` headers,
matching previous Mandrill API restrictions.
.. _mandrill-send-support: