diff options
Diffstat (limited to 'settings/Controller/MailSettingsController.php')
-rw-r--r-- | settings/Controller/MailSettingsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/MailSettingsController.php b/settings/Controller/MailSettingsController.php index ed742059665..df13b46b13c 100644 --- a/settings/Controller/MailSettingsController.php +++ b/settings/Controller/MailSettingsController.php @@ -156,7 +156,7 @@ class MailSettingsController extends Controller { $message = $this->mailer->createMessage(); $message->setTo([$email => $displayName]); $message->setSubject($this->l10n->t('Email setting test')); - $message->setHtmlBody($template->renderHTML()); + $message->setHtmlBody($template->renderHtml()); $message->setPlainBody($template->renderText()); $errors = $this->mailer->send($message); if (!empty($errors)) { |