PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 29, 2022

[FIXED] How to By-pass Emailing in Laravel

 January 29, 2022     laravel, laravel-5, php     No comments   

Issue

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.


Solution

Change your mail driver to log in the .env file

MAIL_DRIVER=log


Answered By - madalinivascu
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing