Configure email through Gmail

(imported from commit 45fdfa4310f94c9e04dc1710dcb291003c1cc0f5)
This commit is contained in:
Luke Faraone 2012-10-01 15:03:59 -04:00
parent 4bd3f009c0
commit 036d25b6bd
1 changed files with 9 additions and 5 deletions

View File

@ -182,14 +182,18 @@ LOGGING = {
} }
ACCOUNT_ACTIVATION_DAYS=7 ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST='localhost' EMAIL_USE_TLS = True
EMAIL_PORT=9991 EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER='username' EMAIL_HOST_USER = 'humbug@humbughq.com'
EMAIL_HOST_PASSWORD='password' EMAIL_HOST_PASSWORD = 'xxxxxxxxxxxxxxxx'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = "Humbug Central Services <humbug@humbughq.com>"
LOGIN_REDIRECT_URL='/' LOGIN_REDIRECT_URL='/'
ZEPHYR_LOG="all_zephyrs_log" ZEPHYR_LOG="all_zephyrs_log"
# For testing, you may want to have emails be printed to the console. # For testing, you may want to have emails be printed to the console.
#EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' if not deployed:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'