aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-02-05 17:47:29 +0300
committerPjotr Prins2018-03-26 09:29:29 +0000
commitd0530d880e11dba4cd6dd35e3d04ac4541c11722 (patch)
tree07661cc131cb7bcf2fd5004a7b0156afc21472f6 /wqflask/utility
parent193a0c19647b37eeb9d18df02e1436d422b4f843 (diff)
downloadgenenetwork2-d0530d880e11dba4cd6dd35e3d04ac4541c11722.tar.gz
Add SMTP configuration variables
* Add configuration variables to enable the system connect to the configured SMTP server to send out emails.
Diffstat (limited to 'wqflask/utility')
-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 a67a930b..005f9b0f 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())
assert(GEMMA_COMMAND is not None)