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
  • test - 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] [--] <name>