How To Send Form To Email With Laravel

We have Guest Book form and after enter data we must save to database then we will also send to admin’s email. how make it? lets do it

for development we must have maitrap account or whatever email you want its up to you, but if you want mailtrap you can register here:

Register Mailtrap

after register create new inbox

and click on Demo Inbox we will have credential

and change on .env setting

open cmder and type

MailGuestBook Code:

and then make views guest-book.blade.php

then in controller we can send email and save data to database like this

this Laravel Form Application on here: