Browse Source
Fix email vs mail
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4512/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
1 additions and
1 deletions
-
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) { |
|
|
|
|