Hi I'm getting very occasional connection problems with the mandrill api
[2016-09-16 07:59:38] production.ERROR: exception 'GuzzleHttp\Exception\ConnectException' with message 'cURL error 7: Failed to connect to mandrillapp.com port 443: Connection timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in /home///vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Is there any way to gracefully catch this and retry sending / fall back to sending via another method sendmail or something rather than just displaying the laravel error page
Thanks
https://laravel.com/docs/5.3/mail#events
catch it,
if you're using the queue
https://laravel.com/docs/5.3/queues#job-events
you can catch any of the following events
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community