-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Good enough email template, for now.
- Loading branch information
Showing
17 changed files
with
518 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,3 +165,32 @@ | |
|
||
# Sandbox endpoint: agcod-v2-gamma.amazon.com us-east-1 | ||
# Production endpoint: agcod-v2.amazon.com us-east-1 | ||
|
||
|
||
# ---------------------------------------------------------------------------- | ||
# Email Settings | ||
# ---------------------------------------------------------------------------- | ||
|
||
# The email address that emails are sent from unless explicitly overridden | ||
# when invoking Django's `send_mail` function | ||
DEFAULT_FROM_EMAIL = os.getenv("DEFAULT_FROM_EMAIL", "[email protected]") | ||
|
||
# The *sending* email address used when Django emails admins about errors. | ||
# For now, we make this the same as DEFAULT_FROM_EMAIL | ||
SERVER_EMAIL = DEFAULT_FROM_EMAIL | ||
|
||
# The email addresses of our administrators. | ||
ADMINS = [("Frontseat Developers", "[email protected]")] | ||
|
||
# How to send email. We default to console-based email, which simply prints | ||
# emails to the console. This is useful for local development. In production, | ||
# we'll configure SMTP. | ||
EMAIL_BACKEND = os.getenv( | ||
"EMAIL_BACKEND", "django.core.mail.backends.console.EmailBackend" | ||
) | ||
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER", None) | ||
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD", None) | ||
EMAIL_HOST = os.getenv("EMAIL_HOST", None) | ||
EMAIL_PORT = os.getenv("EMAIL_PORT", None) | ||
EMAIL_USE_TLS = os.getenv("EMAIL_USE_TLS", "false").lower() == "true" | ||
EMAIL_USE_SSL = os.getenv("EMAIL_USE_SSL", "false").lower() == "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.