summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-02-03 11:43:17 +0100
committerszaimen <szaimen@e.mail.de>2022-02-03 20:16:35 +0100
commit84cf39f58248cb8fc441d00802b1f38f268de4a1 (patch)
tree9b27c7e3971de2200045ff8c75127b2fe36d2f49 /core/js
parente167d7f44ce9adb43b021e83b8782d3413081e45 (diff)
downloadnextcloud-server-84cf39f58248cb8fc441d00802b1f38f268de4a1.tar.gz
nextcloud-server-84cf39f58248cb8fc441d00802b1f38f268de4a1.zip
show if the mail server settings are not set or verified
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setupchecks.js8
1 files changed, 8 insertions, 0 deletions
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} ', '<a href="' + OC.generateUrl('/settings/admin') + '">')
+ .replace(' {mailSettingsEnd}', '</a>'),
+ 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.'),