From 0ce8b031f89db3a61e577dec4213d13e89365e58 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 23 Aug 2016 11:41:31 +0100 Subject: [PATCH] More sensible defaults for the mail server settings. --- web/config.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/web/config.py b/web/config.py index 2f7262638..269cf2e50 100644 --- a/web/config.py +++ b/web/config.py @@ -219,11 +219,14 @@ SESSION_COOKIE_NAME = 'pga4_session' # These settings are used when running in web server mode for confirming # and resetting passwords etc. -MAIL_SERVER = 'smtp.gmail.com' -MAIL_PORT = 465 -MAIL_USE_SSL = True -MAIL_USERNAME = 'username' -MAIL_PASSWORD = 'SuperSecret' +# See: http://pythonhosted.org/Flask-Mail/ for more info +MAIL_SERVER = 'localhost' +MAIL_PORT = 25 +MAIL_USE_SSL = False +MAIL_USE_TLS = False +MAIL_USERNAME = '' +MAIL_PASSWORD = '' +MAIL_DEBUG = False ########################################################################## # Mail content settings