Reputation: 410
I am New to laravel. I got a live project(ERP) to setup locally on my PC with full functionality. but I want to by-pass emailing so that the transaction done locally can not be reflected to the clients. Is there any code, so that if any activity related to email failed continue to next statement instead of showing "Whoops! Something went Wrong" or any kind of Error.
Upvotes: 1
Views: 35
Reputation: 32354
Change your mail driver to log in the .env file
MAIL_DRIVER=log
Upvotes: 2