From 84cf39f58248cb8fc441d00802b1f38f268de4a1 Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 3 Feb 2022 11:43:17 +0100 Subject: show if the mail server settings are not set or verified Signed-off-by: szaimen --- core/js/setupchecks.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core') diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 59411d67b99..94bf4d5403c 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -195,6 +195,14 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }); } + if (!data.wasEmailTestSuccessful) { + messages.push({ + msg: t('core', 'You have not set or verified your email server configuration, yet. Please head over to the {mailSettingsStart} Basic settings {mailSettingsEnd} in order to set them. Afterwards, use the "Send email" button below the form to verify your settings.',) + .replace('{mailSettingsStart} ', '') + .replace(' {mailSettingsEnd}', ''), + type: OC.SetupChecks.MESSAGE_TYPE_INFO + }); + } if (!data.hasValidTransactionIsolationLevel) { messages.push({ msg: t('core', 'Your database does not run with "READ COMMITTED" transaction isolation level. This can cause problems when multiple actions are executed in parallel.'), -- cgit v1.2.3