aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-02-05 17:47:29 +0300
committerMuriithi Frederick Muriuki2018-02-05 17:47:29 +0300
commit832a82d4732290fcae033976f6dcb6bab16f61b7 (patch)
tree39298d7620ccc92aca312043b69119d773272de4
parent6ec9dcc365b899f7f4aaab739103f4559c2c1620 (diff)
downloadgenenetwork2-832a82d4732290fcae033976f6dcb6bab16f61b7.tar.gz
Add SMTP configuration variables
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails.
-rw-r--r--wqflask/utility/tools.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index feeeccfc..ec673cf5 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -274,6 +274,10 @@ ORCID_TOKEN_URL = get_setting_safe('ORCID_TOKEN_URL')
ELASTICSEARCH_HOST = get_setting_safe('ELASTICSEARCH_HOST')
ELASTICSEARCH_PORT = get_setting_safe('ELASTICSEARCH_PORT')
+SMTP_CONNECT = get_setting_safe('SMTP_CONNECT')
+SMTP_USERNAME = get_setting_safe('SMTP_USERNAME')
+SMTP_PASSWORD = get_setting_safe('SMTP_PASSWORD')
+
PYLMM_COMMAND = app_set("PYLMM_COMMAND",pylmm_command())
GEMMA_COMMAND = app_set("GEMMA_COMMAND",gemma_command())
PLINK_COMMAND = app_set("PLINK_COMMAND",plink_command())