I've recently put my Django website into production, and I've turned debug off. I've also configured the ADMINS setting so that I can be informed of any errors occurring.
In my settings.py, I have the following:
ADMINS = (('Foo', '[email protected]'))
I use Zoho to send out emails. When I noticed I wasn't receiving anything, I checked the "Sent" folder on their site. It's trying to send an email to <r>, <n>
Why isn't my name and email being parsed, and what can I do to fix it?
ADMINS should be a list of tuples. You forgot to add a comma to make a list:
ADMINS = (('Foo', '[email protected]'), )
Or you cat use the list syntax:
ADMINS = [('Foo', '[email protected]')]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With