mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
docs.
This commit is contained in:
10
README.rst
10
README.rst
@@ -93,10 +93,14 @@ Example, in a view: ::
|
||||
msg.send()
|
||||
... # you'll want to return some sort of HttpResponse
|
||||
|
||||
Any tags over 50 characters in length are silently ignored. Same for any attached alternatives after the first one.
|
||||
Any tags over 50 characters in length are silently ignored since Mandrill doesn't support them. Any tags starting with an underscore will raise an ``ImproperlyConfigured``
|
||||
exception. Tags with an underscore are reserved by Mandrill.
|
||||
|
||||
Not shown above, but settable, are the two options, ``track_clicks`` and ``track_opens``. They are both set to ``True`` by
|
||||
default, but can be set to ``False`` and passed in when you instantiate your ``DjrillMessage`` object.
|
||||
If you attach more than one alternative type, an ``ImproperlyConfigured`` exception will be raised. Mandrill does not support attaching
|
||||
files to an email, so attachments will be silently ignored.
|
||||
|
||||
Not shown above, but settable, are the two options, ``track_clicks`` and ``track_opens``. They are both set to ``True`` by default, but can be set to ``False`` and passed in when you instantiate your ``DjrillMessage``
|
||||
object.
|
||||
|
||||
Just like Django's ``EmailMessage`` and ``EmailMultiAlternatives``, ``DjrillMessage`` accepts extra headers through the
|
||||
``headers`` argument. Currently it only accepts ``Reply-To`` and ``X-*`` headers since that is all that Mandrill accepts. Any
|
||||
|
||||
Reference in New Issue
Block a user