Note Django DEFAULT_FROM_EMAIL in docs.

Ref https://github.com/brack3t/Djrill/issues/69#issuecomment-74062569
This commit is contained in:
medmunds
2015-05-13 17:58:55 -07:00
parent 6d94e94736
commit 651292fd24
2 changed files with 8 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ In general, Djrill "just works" with Django's built-in `django.core.mail`
package. It includes:
* Support for HTML, attachments, extra headers, and other features of
`Django's built-in email <https://docs.djangoproject.com/en/dev/topics/email/>`_
`Django's built-in email <https://docs.djangoproject.com/en/stable/topics/email/>`_
* Mandrill-specific extensions like tags, metadata, tracking, and MailChimp templates
* Optional support for Mandrill inbound email and other webhook notifications,
via Django signals
@@ -73,9 +73,10 @@ Djrill 1-2-3
MANDRILL_API_KEY = "<your Mandrill key>"
EMAIL_BACKEND = "djrill.mail.backends.djrill.DjrillBackend"
DEFAULT_FROM_EMAIL = "you@example.com" # if you don't already have this in settings
3. Now the regular `Django email functions <https://docs.djangoproject.com/en/dev/topics/email/>`_
3. Now the regular `Django email functions <https://docs.djangoproject.com/en/stable/topics/email/>`_
will send through Mandrill:
.. code-block:: python

View File

@@ -35,6 +35,11 @@ In your project's :file:`settings.py`:
EMAIL_BACKEND = "djrill.mail.backends.djrill.DjrillBackend"
Also, if you don't already have a :setting:`DEFAULT_FROM_EMAIL` in settings,
this is a good time to add one. (Django's default is "webmaster@localhost",
which won't work with Mandrill.)
Mandrill Webhooks (Optional)
----------------------------