Fix email vs mail

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4512/head
Joas Schilling 9 years ago
parent 6c28c4ac8b
commit ec323cb687
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 2
      settings/Controller/MailSettingsController.php

@ -160,7 +160,7 @@ class MailSettingsController extends Controller {
$message->setPlainBody($template->renderText());
$errors = $this->mailer->send($message);
if (!empty($errors)) {
throw new \RuntimeException($this->l10n->t('Mail could not be sent. Check your mail server log'));
throw new \RuntimeException($this->l10n->t('Email could not be sent. Check your mail server log'));
}
return new DataResponse();
} catch (\Exception $e) {

Loading…
Cancel
Save