Fix email vs mail
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6c28c4ac8b
commit
ec323cb687
|
@ -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…
Reference in New Issue