Skip to the content.

Creating a mail

To create a mail, we use the “php artisan make:module:mail ModuleName mailName” command.

php artisan make:module:mail blog BlogMail

This will create a mail in the path modules/blog/src/Mails/BlogMail.php