user = $user; } /** * Build the message. * * @return $this */ public function build(): self { return $this ->subject(sprintf('%s : Votre compte a été crée', config('app.name'))) ->view('emails.mail-created') ->text('emails.mail-created-plain') ->with('user', $this->user) ->with('pwd', $this->user->tmpPass); } }