user = $user; $this->type = $type; $this->reportedFor = $reportedFor; $this->reportSubject = $reportSubject; $this->description = $description; } /** * Execute the job. * * @return void */ public function handle() { try { $email = new ReportEmail($this->user, $this->type, $this->reportedFor, $this->reportSubject, $this->description); Mail::to('connect@globaljain.net')->queue($email); } catch (\Exception $ex) { Log::error($ex); } } }