summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-19 16:39:51 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-04 08:28:33 +0200
commit6a0c54d5bfd70baeed2438ac05278a9b4cb73d88 (patch)
treecd061e0570ff628076c7841e11e2e91f70576ad1 /core
parent0cf0bcba616811248e051a469360055845daed18 (diff)
downloadnextcloud-server-6a0c54d5bfd70baeed2438ac05278a9b4cb73d88.tar.gz
nextcloud-server-6a0c54d5bfd70baeed2438ac05278a9b4cb73d88.zip
Add warning to setup checks if the default mailer is still php
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core')
-rw-r--r--core/js/setupchecks.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index eae0abae50c..75d335043ac 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -293,6 +293,18 @@
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
})
}
+ if (data.isPhpMailerUsed) {
+ messages.push({
+ msg: t(
+ 'core',
+ 'Use of the the built in php mailer is no longer supported. <a target="_blank" rel="noreferrer noopener" href="{docLink}">Please update your email server settings ↗<a/>.',
+ {
+ docLink: data.mailSettingsDocumentation,
+ }
+ ),
+ type: OC.SetupChecks.MESSAGE_TYPE_WARNING
+ });
+ }
} else {
messages.push({
msg: t('core', 'Error occurred while checking server setup'),