email = $user->email; $this->userId = $user->id; $this->newPass = $newPass; } /** * Execute the job. * * @return void */ public function handle() { Mail::to($this->email)->send(new PasswordReset($this->userId, $this->newPass)); } }