token = $token; } public function build() { return $this->view('auth.mail-reset-password') ->with(['token' => $this->token]) ->subject('Lupa Password'); } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( from: new Address(config('mail.from.address'), config('mail.from.name')), subject: 'Lupa Password', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'auth.mail-reset-password', with: [ 'token' => $this->token ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }