Private
Public Access
1
0

changed settings to use AWS SES for outgoing email

This commit is contained in:
Sander Roosendaal
2018-03-17 19:49:29 +01:00
parent c15d68f3fe
commit 33fb1f5086

View File

@@ -315,13 +315,25 @@ CACHE_MIDDLEWARE_SECONDS = 900
# email stuff
EMAIL_BACKEND = CFG['email_backend']
EMAIL_HOST = CFG['email_host']
EMAIL_PORT = CFG['email_port']
EMAIL_HOST_USER = CFG['email_host_user']
EMAIL_HOST_PASSWORD = CFG['email_host_password']
#EMAIL_BACKEND = CFG['email_backend']
#EMAIL_HOST = CFG['email_host']
#EMAIL_PORT = CFG['email_port']
#EMAIL_HOST_USER = CFG['email_host_user']
#EMAIL_HOST_PASSWORD = CFG['email_host_password']
#EMAIL_USE_TLS = CFG['email_use_tls']
#DEFAULT_FROM_EMAIL = 'admin@rowsandall.com'
EMAIL_BACKEND = 'django_ses.SESBackend'
AWS_SES_REGION_NAME = 'eu-west-1'
AWS_SES_REGION_ENDPOINT = 'email.eu-west-1.amazonaws.com'
EMAIL_HOST = CFG['aws_smtp']
EMAIL_PORT = CFG['aws_port']
EMAIL_HOST_USER = CFG['aws_smtp_username']
EMAIL_HOST_PASSWORD = CFG['aws_smtp_password']
EMAIL_USE_TLS = CFG['email_use_tls']
DEFAULT_FROM_EMAIL = 'admin@rowsandall.com'
DEFAULT_FROM_EMAIL = 'info@rowsandall.com'
# weather stuff