Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
isSMTP();
$mail->Host = 'email-smtp.eu-west-2.amazonaws.com';
$mail->SMTPAuth = true;
$mail->Username = 'AKIAUBUYVUFLWGBH3D4O';
$mail->Password = 'BOVgWmn3DIXxRhMDbWYJMhVz+pPoudi2Kh2f7fyhyWYC';
// --- 2. ENCRYPTION & PORT ---
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; // SSL
$mail->Port = 465;
// --- 3. SSL OPTIONS ---
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
// --- 4. SENDER ---
$mail->setFrom('ams-notifications@benholdingslk.com', 'BenLegal Portal');
// --- 5. RECIPIENTS ---
if (is_array($to_emails)) {
foreach ($to_emails as $email) {
if (!empty(trim($email))) {
$mail->addBCC(trim($email));
}
}
} else {
if (!empty(trim($to_emails))) {
$mail->addAddress(trim($to_emails));
}
}
// --- 6. CONTENT FORMATTING ---
$mail->isHTML(true);
$mail->Subject = $subject;
$mail->Body = "
BenLegal System Notification
$htmlBody
This is an automated system notification from BenLegal Corporate Legal System.