make:mail

Create a new email class

Options

  • force - Create the class even if the mailable already exists Optional
  • markdown - Create a new Markdown template for the mailable Optional
  • test - Generate an accompanying Test test for the Mailable Optional
  • pest - Generate an accompanying Pest test for the Mailable Optional
  • phpunit - Generate an accompanying PHPUnit test for the Mailable Optional

Arguments

  • name - The name of the mailable Required
php artisan make:mail [-f|--force] [-m|--markdown [MARKDOWN]] [--test] [--pest] [--phpunit] [--] <name>