user = $user; } public function build() { return $this->from('noreply@webadminduk.com', 'Web Admin Duk') ->subject('Verifikasi Email Anda') ->view('partials.email') ->with([ 'name' => $this->user->name, 'verificationUrl' => route('verification.verify', ['id' => $this->user->id, 'hash' => sha1($this->user->email)]), ]); } public function envelope(): Envelope { return new Envelope( subject: 'Verifikasi Email Anda', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }