Use the console.EmailBackend to avoid error: [Errno 61] Connection refused when trying to send email to a non-existent local SMTP server

This commit is contained in:
Nate Aune 2013-09-26 13:22:41 -04:00
parent 9346ffe802
commit 057821303f

View File

@ -257,8 +257,7 @@ class Local(Common):
########## END INSTALLED_APPS ########## END INSTALLED_APPS
########## Mail settings ########## Mail settings
EMAIL_HOST = "localhost" EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_PORT = 1025
########## End mail settings ########## End mail settings
########## django-debug-toolbar ########## django-debug-toolbar