← Back to list

User Completed Onboarding

See all headers
  • Content-Transfer-Encoding: quoted-printable
  • Content-Type: text/html; charset=utf-8
  • MIME-Version: 1.0
  • Date: Thu, 02 Dec 2021 22:28:00 +0000
  • Message-ID: <2444ae6f046bbdd882ea3fd51ec4d353@laravel-mail-view.demo.sigerr.dev>
  • From: journey@sigerr.dev
  • Subject: Congrats! You know everything there is to know
Show preview code
This is the code used to generate this email template
                    
                    
  • public function userCompletedOnboarding()
  • {
  • /*
  • * Ideally, we use the `make` method to not persist the dummy data to the database.
  • * Sometimes, your mailable needs a relationship or reach directly to the database
  • * so data need to be stored temporarily.
  • * You can cleanup your dummy models via the `afterAll` methods, that run after
  • * every example, or in `after{$methodName}` if you only need to do it for one example.
  • */
  • $this->user = User::factory()->create([
  • 'name' => 'John Doe'
  • ]);
  • return new CompletedOnboarding($this->user);
  • }

/home/mailviewer/laravel-mail-view.demo.sigerr.dev/tests/MailView/UserPreview.php:15

Congrats John Doe! 👏
You completed the onboarding process. You know everything there is to know.
What now?
Keep doing what you're doing and let us know if there is something we can do for you.
Unsubcribe from similar emails
Laravel MailView GitHub Docs Author