mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-22 12:51:06 -05:00
install: remove need to name [esp]
Simplify install to just `pip install django-anymail`. (Rather than `... django-anymail[mailgun]` All of the ESPs so far require requests, so just move that into the base requirements. (Chances are your Django app already needs requests for some other reason, anyway.) Truly unique ESP dependencies (e.g., boto for AWS-SES) could still use the setup extra features mechanism.
This commit is contained in:
@@ -19,18 +19,15 @@ Figuring out what's wrong
|
||||
|
||||
**Check your ESPs API logs**
|
||||
|
||||
Many ESPs offer an incredibly-helpful log
|
||||
of your recent API calls in their dashboards. Check the logs to see if the
|
||||
Most ESPs offer some sort of API activity log in their dashboards.
|
||||
Check the logs to see if the
|
||||
data you thought you were sending actually made it to your ESP, and
|
||||
if they recorded any errors there.
|
||||
|
||||
**Double-check common issues**
|
||||
|
||||
* Did you install Anymail with the ESPs you want available?
|
||||
(E.g., `pip install django-anymail[mailgun,sendgrid]` --
|
||||
*not* just `pip install django-anymail`.)
|
||||
* Did you add any required settings for those ESPs to your settings.py?
|
||||
(E.g., `ANYMAIL_MANDRILL_API_KEY`.)
|
||||
* Did you add any required settings for your ESP to your settings.py?
|
||||
(E.g., `ANYMAIL_SENDGRID_API_KEY` for SendGrid.) See :ref:`supported-esps`.
|
||||
* Did you add ``'anymail'`` to the list of :setting:`INSTALLED_APPS` in settings.py?
|
||||
* Are you using a valid from address? Django's default is "webmaster@localhost",
|
||||
which won't cut it. Either specify the ``from_email`` explicitly on every message
|
||||
|
||||
Reference in New Issue
Block a user