changed settings to use AWS SES for outgoing email
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user