opnform/app/Mail/Forms/FormCreationConfirmationMai...

39 lines
754 B
PHP
Raw Permalink Normal View History

2022-09-20 19:59:52 +00:00
<?php
namespace App\Mail\Forms;
use App\Mail\OpenFormMail;
use App\Models\Forms\Form;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\SerializesModels;
class FormCreationConfirmationMail extends OpenFormMail implements ShouldQueue
{
2024-02-23 10:54:12 +00:00
use Queueable;
use SerializesModels;
2022-09-20 19:59:52 +00:00
/**
* Create a new message instance.
*
* @return void
*/
public function __construct(public Form $form)
{
//
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this
2024-02-23 10:54:12 +00:00
->markdown('mail.form.created', [
'form' => $this->form,
])->subject('Your form was created!');
2022-09-20 19:59:52 +00:00
}
}