Fixed Swiftmailer not catching Exceptions
This commit is contained in:
parent
80f83362f2
commit
bbb0a7ec80
|
@ -142,7 +142,7 @@ class ApiControllerProvider implements ControllerProviderInterface {
|
|||
|
||||
$sent = $app['mailer']->send(\Swift_Message::newInstance()
|
||||
->setSubject('[Resume] Message')
|
||||
->setFrom([$contactFormEmail => $contactFormName])
|
||||
->setFrom(['no-reply@rewiv.com' => $contactFormName])
|
||||
->setTo($app->config('app.email'))
|
||||
->setBody($contactFormMessage)
|
||||
, $failures);
|
||||
|
|
Loading…
Reference in New Issue