diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index a13dabb4..1e8486cb 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -95,6 +95,11 @@ ACCOUNT_ACTIVATION_DAYS = 7 EMAILER_TEST = False if not DEBUG or EMAILER_TEST: 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: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' @@ -138,4 +143,4 @@ TEMPLATE_DIRS = ( os.path.join(BASE_DIR, 'templates'), ) -TERMS_OF_HIRE_URL = "http://dev.nottinghamtec.co.uk/wp-content/uploads/2014/11/terms.pdf" \ No newline at end of file +TERMS_OF_HIRE_URL = "http://dev.nottinghamtec.co.uk/wp-content/uploads/2014/11/terms.pdf"