Reputation: 5191
I had an issue trying to send Django's Errors via email. Mailgun's logs are completely empty for this domain!
Hacking django_mailgun.py revealed <Response 400> from mailgun which fails silently.
Why django_mailgun.py does not work ?
Upvotes: 1
Views: 350
Reputation: 5191
When SERVER_EMAIL
is not defined in settings.py
, Django sends errors from "root@localhost"
which does NOT work for Mailgun anymore and produces <Response400>
So i have added:
SERVER_EMAIL = '[email protected]'
to settings.py
Upvotes: 3