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
SMTPDebug = 2; // $mail->Debugoutput = 'html'; // --- 2. SERVER SETTINGS --- $mail->isSMTP(); $mail->Host = 'email-smtp.eu-west-2.amazonaws.com'; $mail->SMTPAuth = true; $mail->Username = 'AKIAUBUYVUFLWGBH3D4O'; $mail->Password = 'BOVgWmn3DIXxRhMDbWYJMhVz+pPoudi2Kh2f7fyhyWYC'; // --- 3. THE FIX: Switching to SSL on Port 465 --- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; $mail->Port = 465; // --- 4. SSL OPTIONS (Crucial for Amazon SES) --- $mail->SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); // --- 5. SENDER --- $mail->setFrom('ams-notifications@benholdingslk.com', 'Swarnavahini Portal'); // --- 6. RECIPIENTS --- if (is_array($to_emails)) { foreach ($to_emails as $email) { $mail->addBCC(trim($email)); } } else { $mail->addAddress(trim($to_emails)); } // --- 7. CONTENT --- $mail->isHTML(true); $mail->Subject = $subject; $mail->Body = "

Swarnavahini Ratings


$htmlBody

This is a system generated notification.

"; return $mail->send(); } catch (Exception $e) { // echo "
Final Mailer Error: " . $mail->ErrorInfo; return false; } }