From cff995c123427cce5e654b2a24b6b08eaf907868 Mon Sep 17 00:00:00 2001 From: Daniel W Bond Date: Tue, 3 Mar 2020 19:15:02 -0500 Subject: [PATCH] specify in secret.py that either django smtp OR ses are available as options --- bookshare/settings/secret.py.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookshare/settings/secret.py.template b/bookshare/settings/secret.py.template index 3bc5b00..e24dfa4 100644 --- a/bookshare/settings/secret.py.template +++ b/bookshare/settings/secret.py.template @@ -21,12 +21,12 @@ DB_PORT = '' PIWIK_SITE_ID = '' PIWIK_URL = 'https://piwik.srct.gmu.edu/' +# choose in the settings whether to use Django's built-in smtp or SES with 'USE_SES' # configurations to send email via Django's smtplib HOST_EMAIL_USER = '' HOST_EMAIL_PASSWORD = '' # configurations to send email via Amazon SES -# if you do not set these, you simply won't be able to mark listings exchanged SES_HOST = 'email-smtp.region-code.amazonaws.com' SES_USER = 'ses-smtp-username' SES_PASSWORD = 'ses-smtp-password' -- GitLab