Mr.Combet Webshell
Your IP :
3.145.70.14
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
www
/
core
/
app
/
Jobs
/
View File Name :
SubscriptionReminderMail.php
<?php namespace App\Jobs; use App\Http\Helpers\KreativMailer; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Carbon\Carbon; class SubscriptionReminderMail implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; public $as; public $be; public $bs; public $bex; /** * Create a new job instance. * * @return void */ public function __construct($be, $bex, $bs, $as) { $this->be = $be; $this->bex = $bex; $this->bs = $bs; $this->as = $as; } /** * Execute the job. * * @return void */ public function handle() { $be = $this->be; $bex = $this->bex; $bs = $this->bs; $as = $this->as; // Send Mail to Buyer $mailer = new KreativMailer; $data = [ 'toMail' => $as->email, 'toName' => $as->name, 'customer_name' => $as->name, 'remaining_days' => $bex->expiration_reminder, 'current_package_name' => $as->current_package->title, 'expire_date' => Carbon::parse($as->expire_date)->toFormattedDateString(), 'website_title' => $bs->website_title, 'templateType' => 'subscription_expiry_reminder', 'type' => 'subscriptionExpiryReminder' ]; $mailer->mailFromAdmin($data); } }