| Server IP : 178.63.100.251 / Your IP : 216.73.216.228 Web Server : LiteSpeed System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64 User : truewayi ( 1855) PHP Version : 7.4.33 Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/truewayi/public_html/wp-content/plugins/fluent-smtp/ |
Upload File : |
<?php
/*
Plugin Name: FluentSMTP
Plugin URI: https://fluentsmtp.com
Description: The Ultimate SMTP Connection Plugin for WordPress.
Version: 2.3.1
Author: FluentSMTP & WPManageNinja Team
Author URI: https://fluentsmtp.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fluent-smtp
Domain Path: /language
*/
!defined('WPINC') && die;
define('FLUENTMAIL_PLUGIN_FILE', __FILE__);
require_once plugin_dir_path(__FILE__) . 'boot.php';
register_activation_hook(
__FILE__, array('\FluentMail\Includes\Activator', 'handle')
);
register_deactivation_hook(
__FILE__, array('\FluentMail\Includes\Deactivator', 'handle')
);
/**
* Initializes the Fluent SMTP plugin.
*
* This function creates a new instance of the FluentMail\Includes\Core\Application class and registers
* an action hook to be executed when the plugins are loaded. Inside the action hook, the 'fluentMail_loaded'
* action is triggered with the application instance as a parameter.
*
* @since 1.0.0
*/
function fluentSmtpInit() {
$application = new FluentMail\Includes\Core\Application;
add_action('plugins_loaded', function () use ($application) {
do_action('fluentMail_loaded', $application);
});
}
fluentSmtpInit();
if (!function_exists('wp_mail')):
function wp_mail($to, $subject, $message, $headers = '', $attachments = array(), $embeds = array()) {
return fluentMailSend($to, $subject, $message, $headers, $attachments, $embeds);
}
else :
if (!(defined('DOING_AJAX') && DOING_AJAX)):
add_action('init', 'fluentMailFuncCouldNotBeLoadedRecheckPluginsLoad');
endif;
endif;
/*
* Thanks for checking the source code
* Please check the full source here: https://github.com/WPManageNinja/fluent-smtp
* Would love to welcome your pull request
*/