Fix email vs mail

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-04-26 09:33:18 +02:00
parent 6c28c4ac8b
commit ec323cb687
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {