diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 14:57:56 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 14:57:56 +0530 |
commit | a1a5fcdcd2380d7130938dd69afd87eb7b544d2e (patch) | |
tree | a437e5552488e4c9fc54ed70d028e76c9727e5a1 /app/config_dev.py | |
parent | 138d3c9df26372469dea05c05f6767133cf9f7bd (diff) |
config for mail setup
Diffstat (limited to 'app/config_dev.py')
-rw-r--r-- | app/config_dev.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/config_dev.py b/app/config_dev.py index fb070f3..6e77e55 100644 --- a/app/config_dev.py +++ b/app/config_dev.py @@ -9,4 +9,15 @@ ADMIN_EMAIL = "admin@example.com" ADMIN_PASSWORD = "iamgroot" GOOGLE_CLIENT_ID=os.environ.get("GOOGLE_CLIENT_ID") -GOOGLE_CLIENT_SECRET=os.environ.get("GOOGLE_CLIENT_SECRET")
\ No newline at end of file +GOOGLE_CLIENT_SECRET=os.environ.get("GOOGLE_CLIENT_SECRET") + + +#MAIL_BACKEND = 'file' +#MAIL_FILE_PATH = '/tmp/app-messages' +MAIL_BACKEND = "smtp" +MAIL_SERVER = os.environ.get("MAIL_SERVER") +MAIL_PORT = os.environ.get("MAIL_PORT") +MAIL_USERNAME = os.environ.get("MAIL_USERNAME") +MAIL_PASSWORD = os.environ.get("MAIL_PASSWORD") +MAIL_FROM = os.environ.get("MAIL_FROM") +MAIL_USE_TLS = bool(os.environ.get("MAIL_USE_TLS"))
\ No newline at end of file |