From 0b7c679dba2ce774dbf5b9e052831485898f73d4 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 27 Mar 2021 09:48:43 +0100 Subject: [PATCH] Changed test email message (fix #657) --- cps/admin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cps/admin.py b/cps/admin.py index b932bd8e..a6af15b5 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -1153,7 +1153,6 @@ def edit_mailsettings(): @admin_required def update_mailsettings(): to_save = request.form.to_dict() - # log.debug("update_mailsettings %r", to_save) _config_string(to_save, "mail_server") _config_int(to_save, "mail_port") @@ -1173,8 +1172,8 @@ def update_mailsettings(): if current_user.email: result = send_test_mail(current_user.email, current_user.nickname) if result is None: - flash(_(u"Test e-mail successfully send to %(kindlemail)s", kindlemail=current_user.email), - category="success") + flash(_(u"Test e-mail queued for sending to %(email)s, please check Tasks for result", email=current_user.email), + category="info") else: flash(_(u"There was an error sending the Test e-mail: %(res)s", res=result), category="error") else: