user = $user; $this->password = $password; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'New User Password', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.new_user_password', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } public function build() { return $this->subject('Your New Account Password') ->view('emails.new_user_password') ->with([ 'user' => $this->user, 'password' => $this->password, ]); } }