recipient], subject: trans('Votre lot à été envoyé'), ); } /** * Get the message content definition. * * @return \Illuminate\Mail\Mailables\Content */ public function content(): \Illuminate\Mail\Mailables\Content { // * Fix for async usage /** @var string $themeName; */ $themeName = \tenant()->theme; View::addNamespace('theme', resource_path("theme/$themeName/views")); return new Content( markdown: 'theme::mails.prize-sent', with: [ 'first_name' => $this->recipient->name ?? $this->recipient->address, 'game_name' => $this->game_name, 'company' => $this->company, ], ); } }