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
  • pest - Generate an accompanying Pest test for the Mailable Optional
  • phpunit - Generate an accompanying PHPUnit test for the Mailable Optional
  • test - Generate an accompanying Test test for the Mailable Optional
  • view - Create a new Blade template for the mailable Optional

Arguments

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