${title}
${spfIcon}
SPF record status: ${spf}
SPF record description: ${spfDescription}
${dkimIcon}
DKIM record status: ${dkim}
DKIM record description: ${dkimDescription}
${dmarcIcon}
DMARC record status: ${dmarc}
DMARC record description: ${dmarcDescription}
`;
if ( jQuery( '#ps-dns-results__el_id' ).length ) {
jQuery( '#ps-dns-results__el_id' ).remove();
}
jQuery( '.ps-wizard-success:nth(0)' ).after(
ps_dns_results
);
//jQuery( '.ps-wizard-footer-left .ps-in-active-nav .ps-wizard-line:after' ).css( { 'height': '417px' } );
jQuery( '.ps-wizard-footer-left' ).find( '.ps-in-active-nav' ).find( '.ps-wizard-line' ).addClass( 'ps-email-tester-line' );
}
else {
$btn.prop('disabled', false);
if ( jQuery( '#ps-dns-results__el_id' ).length ) {
jQuery( '#ps-dns-results__el_id' ).remove();
}
jQuery( '.ps-wizard-success:nth(0)' ).after(
`
`
);
}
},
error: function(jqXHR, textStatus, errorThrown) {
$btn.prop( 'disabled', false);
jQuery( '.ps-loading-test-report' ).remove();
if (jqXHR.status === 429) {
if ( jQuery( '#ps-dns-results__el_id' ).length ) {
jQuery( '#ps-dns-results__el_id' ).remove();
}
jQuery('.ps-wizard-health-report').after(
`
`
);
} else {
console.log("Error: ", errorThrown);
}
}
} );
}
if( response.success === false ) {
$btn.prop( 'disabled', false);
var selectedSocket = jQuery( '.ps-wizard-socket-check:checked' ).val();
jQuery( '.ps-wizard-error' ).html( `