user = $user; $this->santID = $santID; $this->chaturmasID = $chaturmasID; $this->description = $description; } /** * Execute the job. * * @return void */ public function handle() { try { // $sant = Sant::where('id', $this->santID)->first(); $email = new WrongChaturmasEmail($this->user, $this->santID, $this->chaturmasID, $this->description); Mail::to('connect@globaljain.net')->queue($email); } catch (\Exception $ex) { Log::error($ex); } } }