mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 23:42:14 +00:00
Updated some email settings to be used in production
This commit is contained in:
@@ -95,6 +95,11 @@ ACCOUNT_ACTIVATION_DAYS = 7
|
|||||||
EMAILER_TEST = False
|
EMAILER_TEST = False
|
||||||
if not DEBUG or EMAILER_TEST:
|
if not DEBUG or EMAILER_TEST:
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
|
EMAIL_HOST = 'server.techost.co.uk'
|
||||||
|
EMAIL_PORT = 465
|
||||||
|
EMAIL_HOST_USER = 'tec'
|
||||||
|
EMAIL_HOST_PASSWORD = '***REMOVED***'
|
||||||
|
DEFAULT_FROM_EMAIL = 'rigs@nottinghamtec.co.uk'
|
||||||
else:
|
else:
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user