So, I’m assuming that you know how to create a basic laravel project that’s why I’m starting with real action for sending mails.
First of all create view, which you want to send as a mail. Here I have a sample view with “Hello World!” text.
After creating view just create a controller. I’m creating controller named “SendMailController” .