diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Controller/MailSettingsController.php | 2 | ||||
-rw-r--r-- | settings/Hooks.php | 4 | ||||
-rw-r--r-- | settings/Mailer/NewUserMailHelper.php | 2 |
3 files changed, 4 insertions, 4 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)) { diff --git a/settings/Hooks.php b/settings/Hooks.php index 721aeb23886..2d8b17ebfd9 100644 --- a/settings/Hooks.php +++ b/settings/Hooks.php @@ -104,7 +104,7 @@ class Hooks { $message->setTo([$user->getEMailAddress() => $user->getDisplayName()]); $message->setSubject($this->l->t('Password for %1$s changed on %2$s', [$user->getDisplayName(), $instanceUrl])); $message->setBody($template->renderText(), 'text/plain'); - $message->setHtmlBody($template->renderHTML()); + $message->setHtmlBody($template->renderHtml()); $this->mailer->send($message); } @@ -157,7 +157,7 @@ class Hooks { $message->setTo([$oldMailAddress => $user->getDisplayName()]); $message->setSubject($this->l->t('Email address for %1$s changed on %2$s', [$user->getDisplayName(), $instanceUrl])); $message->setBody($template->renderText(), 'text/plain'); - $message->setHtmlBody($template->renderHTML()); + $message->setHtmlBody($template->renderHtml()); $this->mailer->send($message); } diff --git a/settings/Mailer/NewUserMailHelper.php b/settings/Mailer/NewUserMailHelper.php index 75ec62e5ad5..911952794fd 100644 --- a/settings/Mailer/NewUserMailHelper.php +++ b/settings/Mailer/NewUserMailHelper.php @@ -158,7 +158,7 @@ class NewUserMailHelper { $message = $this->mailer->createMessage(); $message->setTo([$user->getEMailAddress() => $user->getDisplayName()]); $message->setSubject($this->l10n->t('Your %s account was created', [$this->themingDefaults->getName()])); - $message->setHtmlBody($emailTemplate->renderHTML()); + $message->setHtmlBody($emailTemplate->renderHtml()); $message->setPlainBody($emailTemplate->renderText()); $message->setFrom([$this->fromAddress => $this->themingDefaults->getName()]); $this->mailer->send($message); |