/home/techb158/immovalet.com/platform/core/base/src/Jobs
Edit: /home/techb158/immovalet.com/platform/core/base/src/Jobs/SendMailJob.php (1560B)
content = $content;
$this->title = $title;
$this->to = $to;
$this->args = $args;
$this->debug = $debug;
}
/**
* Handle the job.
*
* @return void
* @throws Exception
*/
public function handle()
{
try {
Mail::to($this->to)->send(new EmailAbstract($this->content, $this->title, $this->args));
} catch (Exception $exception) {
if ($this->debug) {
throw $exception;
}
Log::error($exception->getMessage());
}
}
}