Fixed Swiftmailer not catching Exceptions

This commit is contained in:
R. Eric Wheeler 2016-07-15 11:16:30 -07:00
parent 80f83362f2
commit bbb0a7ec80
1 changed files with 1 additions and 1 deletions

View File

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