otp = $otp; } public function build() { return $this->subject('Kode OTP Reset Password') ->view('emails.otp') // ✅ HARUS INI ->with([ 'otp' => $this->otp ]); } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Otp Mail', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.otp', ✅ with: [ 'otp' => $this->otp ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }