WP Mail SMTP Pro - Easy Email Deliverability for WordPress

WP Mail SMTP Pro - Easy Email Deliverability for WordPress v4.9.0 Nulled

No permission to download
  • Welcome to Babiato Forum! All Resources are 100% clean and Safe to Use

Mrsam_1

Well-known member
Administrative
Trusted Seller
Jul 19, 2018
64,578
66,639
120
I'm trying on my own site right now, I'll let you know.
 
  • Like
Reactions: bleem

IntBoat

New member
Aug 14, 2022
13
20
3
I removed the update I added :cry:
modify function pro_license_test() to the following code, should fix the problem.

/src/Pro/SiteHealth.php:110-158
PHP:
    public function pro_license_test() {

        check_ajax_referer( 'health-check-site-status' );

        if ( ! current_user_can( 'view_site_health_checks' ) ) {
            wp_send_json_error();
        }

        $result = array(
            'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
            'status'      => 'good',
            'badge'       => array(
                'label' => wp_mail_smtp()->get_site_health()->get_label(),
                'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
            ),
            'description' => '',
            'actions'     => sprintf(
                '<p><a href="%s">%s</a></p>',
                esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
            ),
            'test'        => 'wp_mail_smtp_pro_license_check',
        );

        $license_status = wp_mail_smtp()->pro->get_license()->get_status();

        $result['description'] = $license_status['message'];

        if ( $license_status['valid'] === false ) {
            $result = array(
                'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
                'status'      => 'good',
                'badge'       => array(
                    'label' => wp_mail_smtp()->
                    get_site_health()->get_label(),
                    'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
                ),
                'description' => '',
                'actions'     => sprintf(
                    '<p><a href="%s">%s</a></p>>',
                    esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                    esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
                ),
                'test'        => 'wp_mail_smtp_pro_license_check',
            );
        }

        wp_send_json_success( $result );
    }
 

Minion01

Well-known member
Babiato Fan
Babiato Lover
Null Master
Trusted Seller
Trusted Uploader
Feb 27, 2019
4,956
4,070
120
The plugin (3.5.2) crashed instantly on installation. There is a serious problem with this version. I suggest that no one set up the plugin.

Edit: Php code worked. Problem seems to be fixed. Thank you.
/src/Pro/SiteHealth.php:110-158
 
Last edited by a moderator:
  • Like
Reactions: power2009

power2009

Member
Oct 30, 2019
90
55
18
The plugin (3.5.2) crashed instantly on installation. There is a serious problem with this version. I suggest that no one set up the plugin.

Edit: Php code worked. Problem seems to be fixed. Thank you.
/src/Pro/SiteHealth.php:110-158
yeah its true in me too
 

power2009

Member
Oct 30, 2019
90
55
18
modify function pro_license_test() to the following code, should fix the problem.

/src/Pro/SiteHealth.php:110-158
PHP:
    public function pro_license_test() {

        check_ajax_referer( 'health-check-site-status' );

        if ( ! current_user_can( 'view_site_health_checks' ) ) {
            wp_send_json_error();
        }

        $result = array(
            'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
            'status'      => 'good',
            'badge'       => array(
                'label' => wp_mail_smtp()->get_site_health()->get_label(),
                'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
            ),
            'description' => '',
            'actions'     => sprintf(
                '<p><a href="%s">%s</a></p>',
                esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
            ),
            'test'        => 'wp_mail_smtp_pro_license_check',
        );

        $license_status = wp_mail_smtp()->pro->get_license()->get_status();

        $result['description'] = $license_status['message'];

        if ( $license_status['valid'] === false ) {
            $result = array(
                'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
                'status'      => 'good',
                'badge'       => array(
                    'label' => wp_mail_smtp()->
                    get_site_health()->get_label(),
                    'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
                ),
                'description' => '',
                'actions'     => sprintf(
                    '<p><a href="%s">%s</a></p>>',
                    esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                    esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
                ),
                'test'        => 'wp_mail_smtp_pro_license_check',
            );
        }

        wp_send_json_success( $result );
    }
Work! Thanks)
 

Mrsam_1

Well-known member
Administrative
Trusted Seller
Jul 19, 2018
64,578
66,639
120
@Tomz , here was a problem in the version I added , it was either really caused by the manufacturer or there was a problem where I get it . in both cases i will not update this plugin again . long story short ; do you have the latest version? :love:
 
  • Like
Reactions: tanierlyons

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
78,247
112,339
120
modify function pro_license_test() to the following code, should fix the problem.

/src/Pro/SiteHealth.php:110-158
PHP:
    public function pro_license_test() {

        check_ajax_referer( 'health-check-site-status' );

        if ( ! current_user_can( 'view_site_health_checks' ) ) {
            wp_send_json_error();
        }

        $result = array(
            'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
            'status'      => 'good',
            'badge'       => array(
                'label' => wp_mail_smtp()->get_site_health()->get_label(),
                'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
            ),
            'description' => '',
            'actions'     => sprintf(
                '<p><a href="%s">%s</a></p>',
                esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
            ),
            'test'        => 'wp_mail_smtp_pro_license_check',
        );

        $license_status = wp_mail_smtp()->pro->get_license()->get_status();

        $result['description'] = $license_status['message'];

        if ( $license_status['valid'] === false ) {
            $result = array(
                'label'       => esc_html__( 'WP Mail SMTP Pro license is active and valid', 'wp-mail-smtp-pro' ),
                'status'      => 'good',
                'badge'       => array(
                    'label' => wp_mail_smtp()->
                    get_site_health()->get_label(),
                    'color' => \WPMailSMTP\SiteHealth::BADGE_COLOR,
                ),
                'description' => '',
                'actions'     => sprintf(
                    '<p><a href="%s">%s</a></p>>',
                    esc_url( wp_mail_smtp()->get_admin()->get_admin_page_url() ),
                    esc_html__( 'View license setting', 'wp-mail-smtp-pro' )
                ),
                'test'        => 'wp_mail_smtp_pro_license_check',
            );
        }

        wp_send_json_success( $result );
    }
can u give me your edited version
attach here thanks so much
 

About us

  • Babiato Forum - The webmaster community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day, updating Daily resource to make sure our community is one of the best.

Quick Navigation

User Menu