// will add this code in web.php page Route::get("/mail",function(){ Mail::raw("thank you", function($messsage){ $messsage->to("name@gmail.com")->subject("contact with me"); }); }); // will add this code at env file MAIL_MAILER=log // to see the result you should go to www.myapp.com/mail then go to laravel.log file you will find the result there
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter