From a1a5fcdcd2380d7130938dd69afd87eb7b544d2e Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 6 Jun 2021 14:57:56 +0530 Subject: config for mail setup --- app/config_dev.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'app/config_dev.py') 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 -- cgit v1.2.3