HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/plugins/check-email/assets/js/admin/checkemail.min.js
!function(e){e(document).ready(function(){e(".checkemail-hide").hide(),e("#check-email-enable-widget").parent().parent(),e("#check-email-enable-db-notifications").parent().parent(),e("#checkemail_autoheaders,#checkemail_customheaders").on("change",function(){e("#checkemail_autoheaders").is(":checked")&&(e("#customheaders").hide(),e("#autoheaders").show()),e("#checkemail_customheaders").is(":checked")&&(e("#autoheaders").hide(),e("#customheaders").show())});var c=e("#check-email-from_name").parent().parent(),i=e("#check-email-from_email").parent().parent();function a(c){e.ajax({async:!0,type:"GET",dataType:"html",url:c,success:function(){location.reload()}})}e("#check-email-overdide-from").is(":checked")||(c.hide(),i.hide()),e("#check-email-overdide-from").on("click",function(){e(this).is(":checked")?(c.show(),i.show()):(c.hide(),i.hide())}),e("#install_wp_smtp").on("click",c=>{c.preventDefault();let i=e(c.currentTarget),s=i.data("slug"),o=i.data("action"),l=i.data("activation_url");(i.attr("disabled",!0),"install"===o)?(i.addClass("updating-message"),wp.updates.installPlugin({slug:s,success(e){i.html("Activating plugin"),a(e.activateUrl)},error(e){i.removeClass("updating-message"),jQuery("#install_wp_smtp_info p").html(e.errorMessage),jQuery("#install_wp_smtp_info").addClass("notice-error notice")}})):"activate"===o&&a(l)}),e(document).on("click","#check-email-enable-smtp",function(c){e(this).is(":checked")?e(".check_email_all_smtp").show():e(".check_email_all_smtp").hide(),function c(){if(e("#check-email-enable-smtp").is(":checked")){var i=e(".check_email_mailer_type:checked").val();console.log(i),"outlook"==i&&(e("#check-email-outllook").show(),e("#check-email-smtp-form").hide()),"smtp"==i&&(e("#check-email-outllook").hide(),e("#check-email-smtp-form").show())}}()}),e(document).on("click","#check_mail_resend_btn",function(e){t=jQuery(this),jQuery(".cm_js_error").html(""),jQuery(".cm_js_success").html("");var c=jQuery("#cm_ajax_url").val(),i=jQuery("#check-mail-resend-form").serialize();jQuery.ajax({url:c,method:"post",dataType:"json",data:i,beforeSend:function(e){t.html('Resend<span class="spinner is-active"></span>'),t.prop("disabled",!0)},success:function(e){200!=e.status?jQuery(".cm_js_error").html(e.message):(jQuery(".cm_js_success").html(e.message),location.reload())},complete:function(e){t.html("Resend"),t.prop("disabled",!1)}})}),e(".check-mail-import-plugins").on("click",function(c){c.preventDefault(),jQuery(".cm_js_error").html(""),jQuery(".cm_js_success").html("");var i,a,s,o=e(this),l=e(this).attr("data-id"),n=jQuery("#cm_ajax_url").attr("data");data={action:"check_mail_import_plugin_data",plugin_name:l,ck_mail_security_nonce:jQuery("#cm_security_nonce").attr("data")},i=n,a=data,s=o,jQuery.ajax({url:i,method:"post",dataType:"json",data:a,beforeSend:function(e){s.html('Import<span class="spinner is-active"></span>'),s.prop("disabled",!0)},success:function(e){200!=e.status?s.parents(".cm_js_migration").find(".cm_js_error").html(e.message):s.parents(".cm_js_migration").find(".cm_js_success").html(e.message)},complete:function(e){s.html("Import"),s.prop("disabled",!1)}})});var s=e(".check_email_forward_to"),o=e(".check_email_forward_cc"),l=e(".check_email_forward_bcc");e("#check-email-forward_email").is(":checked")||(s.hide(),o.hide(),l.hide()),e("#check-email-forward_email").on("click",function(){e(this).is(":checked")?(s.show(),o.show(),l.show()):(s.hide(),o.hide(),l.hide())});var n=e(".check_email_retention_amount");e("#check-email-is_retention_amount_enable").is(":checked")||n.hide(),e("#check-email-is_retention_amount_enable").on("click",function(){e(this).is(":checked")?n.show():n.hide()});var h=e(".check_email_log_retention_period"),r=e(".check_email_log_retention_period_in_days");e("#check-email-is_retention_period_enable").is(":checked")||(h.hide(),r.hide()),e("#check-email-is_retention_period_enable").on("click",function(){e(this).is(":checked")?(h.show(),e("#check-email-log_retention_period").trigger("change")):(h.hide(),r.hide())}),"custom_in_days"!=e("#check-email-log_retention_period").val()&&r.hide(),e("#check-email-log_retention_period").on("change",function(){"custom_in_days"==e(this).val()?r.show():r.hide()}),e(".check_main_js_display_checkbox").on("click",function(){e(this).is(":checked")?e(this).next(".check_mail_js_hidden_display").val(1):e(this).next(".check_mail_js_hidden_display").val(0)})}),e(document).on("click",".check_email_mailer_type",function(c){e(".ck_radio_selected").removeClass("ck_radio_selected"),"outlook"==e(this).val()&&(e("#check-email-outllook").show(),e("#check-email-smtp-form").hide(),e(this).parents(".ce_radio-label").addClass("ck_radio_selected")),"smtp"==e(this).val()&&(e("#check-email-outllook").hide(),e("#check-email-smtp-form").show(),e(this).parents(".ce_radio-label").addClass("ck_radio_selected"))}),e(document).on("click","#check-email-email-encode-options-is_enable",function(c){e(this).is(":checked")?e(".check-email-etr").show():e(".check-email-etr").hide()}),e(document).on("click","#check_email_remove_outlook",function(e){t=jQuery(this);var c=checkemail_data.ajax_url,i=checkemail_data.ck_mail_security_nonce;jQuery.ajax({url:c,method:"post",dataType:"json",data:{action:"check_email_remove_outlook",ck_mail_security_nonce:i},beforeSend:function(e){},success:function(e){200==e.status&&location.reload()},complete:function(e){}})}),e("#check_mail_request_uri").on("click",function(){var c;c=document.getElementById("check_mail_request_uri"),c.select(),navigator.clipboard.writeText(c.value),e("#check_mail_copy_text").html("Copied!")})}(jQuery);