mirror of https://github.com/zulip/zulip.git
Configure email through Gmail
(imported from commit 45fdfa4310f94c9e04dc1710dcb291003c1cc0f5)
This commit is contained in:
parent
4bd3f009c0
commit
036d25b6bd
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue