LinkStackOrg /
LinkStack
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Mail; |
||
| 4 | |||
| 5 | use Illuminate\Bus\Queueable; |
||
| 6 | use Illuminate\Contracts\Queue\ShouldQueue; |
||
| 7 | use Illuminate\Mail\Mailable; |
||
| 8 | use Illuminate\Mail\Mailables\Content; |
||
| 9 | use Illuminate\Mail\Mailables\Envelope; |
||
| 10 | use Illuminate\Queue\SerializesModels; |
||
| 11 | |||
| 12 | class ReportSubmissionMail extends Mailable |
||
| 13 | { |
||
| 14 | use Queueable, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 15 | |||
| 16 | public $formData; |
||
| 17 | |||
| 18 | public function __construct($formData) |
||
| 19 | { |
||
| 20 | $this->formData = $formData; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function build() |
||
| 24 | { |
||
| 25 | return $this->view('layouts.send-report') |
||
| 26 | ->subject(__('messages.report_mail_admin_subject')); |
||
| 27 | } |
||
| 28 | } |