Added way to send emails through sendgrid

This commit is contained in:
2022-01-29 12:10:52 -05:00
parent 27fc9d0937
commit b2b73842bc
9 changed files with 135 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ try:
developmentMachine = False
configuration = {
"api": os.getenv("WEBSITE_API"),
"mail": os.getenv("MAIL_PASSWORD"),
"database": { "username": os.getenv("WEBSITE_USER", "admin"), "name": os.getenv("WEBSITE_DATABASE_TABLE", "website"), "password": os.getenv("WEBSITE_PASSWORD", "password"), "backupLocation": os.getenv("WEBSITE_BACKUP_LOCATION", "/backup"), "backupLength" : int(os.getenv("WEBSITE_BACKUP_LENGTH", "604800")) },
"developer": developmentMachine,
"throttle": int(os.getenv("WEBSITE_THROTTLE", "5")),