✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/site-mailer/modules/mailer//module.php
<?php

namespace SiteMailer\Modules\Mailer;

use SiteMailer\Classes\Module_Base;
use SiteMailer\Modules\Mailer\Classes\Mail_Handler;
use SiteMailer\Modules\Connect\Module as Connect;
use Throwable;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Class Module
 */
class Module extends Module_Base {

	/**
	 * Get module name.
	 * Retrieve the module name.
	 * @access public
	 * @return string Module name.
	 */
	public function get_name(): string {
		return 'mailer';
	}

	public static function component_list(): array {
		return [
			'Rate_Limit_Retry',
		];
	}

	public static function routes_list(): array {
		return [
			'Resend_Mails',
			'Send_Test_Mail',
		];
	}

	/**
	 * send
	 *
	 * @param $sent
	 * @param array $email {
	 *      Array of the `wp_mail()` arguments.
	 *
	 * @type string|string[] $to Array or comma-separated list of email addresses to send message.
	 * @type string $subject Email subject.
	 * @type string $message Message contents.
	 * @type string|string[] $headers Additional headers.
	 * @type string|string[] $attachments Paths to files to attach.
	 *
	 * @return bool
	 * @throws Throwable
	 */
	public function send( $sent, array $email ) {
		// Validate and prepare email to send
		try {
			$handler = new Mail_Handler( $email, 'Normal' );
		} catch ( Throwable $t ) {
			return false;
		}

		// Send request to the external service
		try {
			$handler->send();

			return true;
		} catch ( Throwable $t ) {
			// try to send via default WP function
			return $sent;
		}
	}

	public function __construct() {
		$this->register_components();
		if ( Connect::is_connected() ) {
			add_filter( 'pre_wp_mail', [ $this, 'send' ], 10, 2 );
		}
		$this->register_routes();
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
1 Jan 1970 12.00 AM
root / root
0
classes
--
9 Jun 2026 8.38 AM
builxejc / builxejc
0755
components
--
9 Jun 2026 8.38 AM
builxejc / builxejc
0755
rest
--
9 Jun 2026 8.38 AM
builxejc / builxejc
0755
module.php
1.698 KB
3 Feb 2025 5.28 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF