CINXE.COM

Professional Email Solutions for 25 Years - Coremail

<!DOCTYPE html> <html> <head> <link rel="bookmark" href="/favicon.ico"> <link rel="shortcut icon" href="/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui"/> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"> <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"/> <meta name="format-detection" content="telephone=no, email=no"/> <link rel="stylesheet" type="text/css" href="/pc/css/animate.min.css"> <link rel="stylesheet" type="text/css" href="/pc/css/iconfont.css"> <link href="/pc/css/swiper.min.css" type="text/css" rel="stylesheet" /> <link href="/pc/css/style.css?a=1" type="text/css" rel="stylesheet" /> <link href="/pc/css/style2.css" type="text/css" rel="stylesheet" /> <link rel="stylesheet" href="/pc/css/responsive.css"> <link rel="stylesheet" href="/pc/css/jquery.mcustomscrollbar.min.css"> <link href="/pc/css/css.css" type="text/css" rel="stylesheet" /> <link rel="stylesheet" href="/pc/css/tac.css"> <script src="/pc/js/viewer.min.js"></script> <script src="/pc/js/clipboard.min.js"></script> <title>Professional Email Solutions for 25 Years - Coremail</title> <meta name="keyword" content="Coremail,Email System,Security Gateway Email Solution,Coremail SaaS Email"/> <meta name="description" content="Coremail provide mail system-related products and solutions for government, education, finance, other industries, and various enterprises and institutions."/> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KFWGSDJH');</script> <!-- End Google Tag Manager --> <meta name="google-site-verification" content="K_DRNZYCisfSna9IM1GQDuKZq0zCQlAWLq4_a8405-s" /> </head> <script> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KFWGSDJH" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> </script> <body ng-app="xyApp"> <header class="header"> <div class="row fl-cb"> <a href="/index.html" class="logo fl-cc"><img src="/upload/images/site/20240131/ba46b14e11414834a2fad6166dbf28be.svg" alt=""></a> <div class="menu fl-cc"> <div class="link fl-cc yesItem"> <a class="fl-cc">Product</a> <div class="downmenu"> <a href="/email-system.html" >XT6 Email System</a> <a href="/saas-level.html" >SaaS Level </a> <a href="/security-gateway-email-solution.html" >Security Gateway Email Solution</a> <a href="/archive-system.html" >Archive System</a> </div> </div> <div class="link fl-cc yesItem"> <a class="fl-cc">Solutions</a> <div class="downmenu"> <a href="/finance-industry.html" >Finance Industry</a> <a href="/government.html" >Government</a> <a href="/large-scale-enterprise.html" >Large-Scale Enterprise</a> </div> </div> <div class="link fl-cc yesItem"> <a href="/partner.html" class="fl-cc">partner</a> </div> <div class="link fl-cc yesItem"> <a href="/support.html" class="fl-cc">Support</a> </div> <div class="link fl-cc yesItem"> <a href="/news.html" class="fl-cc">Press Center</a> </div> <div class="link fl-cc yesItem"> <a href="/about-us.html" class="fl-cc">About Us</a> </div> </div> <div class="h-lang"> <a class="h-cur s16" title=""></a> <div class="h-items s16"> <a href="https://www.coremail.cn/" class="h-item s16" title="">中文</a> </div> </div> <a href="/about-us.html#formSection" class="trial fl-cc"><img src="/pc/picture/62984c5cf224a.png" alt=""><span>15 Days Free Trial</span></a> <div class="toggle"> <div class="line line-top"></div> <div class="line line-middle"></div> <div class="line line-bottom"></div> </div> </div> </header> <div class="bj bj7 fl-cc"><img src="../pc/picture/ab-bj.jpg" alt=""></div> <div class="bj bj0 fl-cc"><img src="../pc/picture/h1-1.jpg" alt=""></div> <section class="home1"> <div class="fuild"> <div class="row fl-je fl-fw"> <div class="intr sr_data"> <h1>Professional<br>Email Solutions <b>for 26 Years</b> </h1> <h2>1 Billions<br>End-Users Trust Coremail </h2> <a href="/about/5.html#formSection" class="more fl-cc"> <span>15 Days Free Trial</span></a> </div> <div class="pic fl-cc" > <img src="/upload/images/article/20241121/eb8b1b805921497099aeb92e95932744.webp" alt=""> </div> </div> </div> </section> <section class="home2"> <div class="fuild"> <div class="tit"> <h3>Our Product </h3> <p>We Provide it On-Cloud Or On-Permises </p> </div> <div class="row"> <div class="col fl-je fl-fw"> <div class="intr sr_data"> <h4>XT6 EMAIL SYSTEM</h4> <p>Coremail XT 6.0 is the latest mail system from Coremail. This XT 6.0-style Webmail interface boasts a design that's both simple and elegant, providing users with several intuitive, intelligent features. The email system not only enhances workplace efficiency within organizations and improves external business communication, but also significantly boosts the overall management competency of enterprise information systems. It also does an excellent job of representing the brand and the image of modern enterprise organizations.</p> <div class="rich-content" style="display: none"> &lt;h6&gt;Taking the lead in deployment&lt;/h6&gt;&lt;h6&gt;Robustness&lt;/h6&gt;&lt;h6&gt;Cooperative Work&lt;/h6&gt;&lt;h6&gt;Auto Scaling&lt;/h6&gt;&lt;h6&gt;Multidimensional Security&lt;/h6&gt; </div> </div> <div class="pic fl-cc"> <img class="sr_right_img" data-img="/upload/images/article/20241121/e097cdcfbcf641629a3658022021d169.webp" alt=""> </div> </div> <div class="col fl-js fl-fw"> <div class="intr sr_data"> <h4>ARCHIVE SYSTEM </h4> <p>Coremail mail archiving system uses a direct mail replication architecture which does not need to change the existing network and mail flow architecture. It has good integration and compatibility with existing mail-related equipment and back-end storage equipment and is suitable for various enterprises.</p> <div class="rich-content" style="display: none"> &lt;h6&gt;Compliance with Regulations&lt;/h6&gt;&lt;h6&gt;Digitalize Your Business&lt;/h6&gt;&lt;h6&gt;Security Defense&lt;/h6&gt;&lt;h6&gt;Storage Requirement&lt;/h6&gt; </div> </div> <div class="pic fl-cc"> <img class="sr_right_img" data-img="/upload/images/article/20241121/50a7b002254e4c52994d30a2705a2205.webp" alt=""> </div> </div> <div class="col fl-je fl-fw"> <div class="intr sr_data"> <h4>SECURITY GATEWAY </h4> <p>Coremail has built a CAC Email Security Big Data Center. It provides customers with efficient and convenient email anti-spam services through intelligent algorithm models and manual review rules. Coremail has deployed millions of honeypot mailboxes across the country to collect the latest spam emails in real-time.</p> <div class="rich-content" style="display: none"> &lt;h6&gt;Millions of honeypot sample mailboxes&lt;/h6&gt;&lt;h6&gt;Algorithm Detect Spam&lt;/h6&gt;&lt;h6&gt;Spam Detection Rate reaches 99.8%&lt;/h6&gt;&lt;h6&gt;SupportCoremail,Exchange,&lt;br&gt;IBMDomino, Office365&Gmail.&lt;/h6&gt; </div> </div> <div class="pic fl-cc"> <img class="sr_right_img" data-img="/upload/images/article/20241121/dd4d2d7d04de43d58f1c537f083e3572.webp" alt=""> </div> </div> </div> </div> </section> <section class="home3"> <div class="wrap"> <div class="tit"> <h3>About Us </h3> <p>Consistenly Focusing on Email System</p> </div> <div class="row fl-jb fl-fw"> <div class="col sr_card"> <div class="intr"> <h2>1,000,000,000</h2> <p>End-users worldwide </p> </div> </div> <div class="col sr_card"> <div class="intr"> <h2>26+ </h2> <p>Years Experience </p> </div> </div> <div class="col sr_card"> <div class="intr"> <h2>No.1 </h2> <p>Chinese Email Solution</p> </div> </div> <div class="col sr_card"> <div class="intr"> <h2>300+ </h2> <p>R&D members </p> </div> </div> </div> </div> </section> <section class="home4" data-img="../pc/image/h4-bj.jpg"> <div class="wrap"> <div class="tit"> <h3>FAQ</h3> <p>Top Question and Answer </p> </div> <div class="row"> <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"> <div class="box"> <p>Can I use a third-party Client (Microsoft Outlook) to log in to Coremail?</p> </div> </div> <div class="swiper-slide"> <div class="box"> <p> How does Coremail keep my email communications secure and private?</p> </div> </div> <div class="swiper-slide"> <div class="box"> <p> Does Coremail include a domain while opening an email account? </p> </div> </div> <div class="swiper-slide"> <div class="box"> <p>Can I use third party Client (Microsoft Outlook) to login Coremail? </p> </div> </div> </div> </div> <div class="swiper-box"> <div class="swiper-btn fl-cc prev"><i class="iconfont icon-toLeft"></i></div> <div class="swiper-num fl-cc"><span class="cur">1</span><span>/</span><span class="total">4</span> </div> <div class="swiper-btn fl-cc next"><i class="iconfont icon-toRight"></i></div> </div> </div> <a href="/support/4.html#class=su5" class="more fl-cc"><span>view more</span></a> </div> </section> <section class="home5" data-img="../pc/image/h5-bj.jpg"> <div class="wrap"> <div class="tit"> <h3>Our Customer </h3> </div> <div class="row"> <div class="pic fl-cc"> <img src="/upload/images/article/20240104/73b7ac06d9af4174a26cc9859fc5dc48.png" alt=""> </div> <div class="ev ev1 fl-cc"><img data-img="/upload/images/article/20240104/ba1c3151cddd439f8113116fb083a1f3.png" alt=""> </div> <div class="ev ev2 fl-cc"><img data-img="/upload/images/article/20240422/e270a96e130c4681b68c97f7046192b9.png" alt=""> </div> </div> </div> </div> </section> <section class="newcens"> <div class="wrap"> <div class="tit"> <h3>Press Center </h3> </div> <div class="newcenlis"> <div class="necom z1 mb1"> <a href="/news/detail/56.html" title=""> <div class="imgs"> <div class="img"> <img data-img="/upload/images/article/20250126/e2562481c07f4706997af86de5250688.webp" alt=""> </div> </div> <div class="nom"> <div class="time s14 " id="create_time">1737856304</div> <div class="nit s18">Coremail Invited to Participate in CYBERSEC ASIA 2025 </div> <div class="nix s16">CYBERSEC ASIA 2025 took place in Bangkok, Thailand, on January 22-23, attracting over 4,000 attendees and bringing together cybersecurity experts, innovators, and industry leaders to explore the latest trends and technologies in the security sector. Coremail, recognized as a leader in the field, was invited to showcase its products at the event. </div> </div> </a> </div> <div class="necom z1 mb1"> <a href="/news/detail/55.html" title=""> <div class="imgs"> <div class="img"> <img data-img="/upload/images/article/20241205/e9718b467ff84ab89666b4269f5435e6.webp" alt=""> </div> </div> <div class="nom"> <div class="time s14 " id="create_time">1733363423</div> <div class="nit s18">Embracing Digital Transformation: Coremail’s Participation in DigiTech ASEAN Thailand 2024 </div> <div class="nix s16">DigiTech ASEAN Thailand 2024, a key international exhibition and networking event, was successfully held from November 20-22 in Bangkok. This platform is a hub for connecting and conducting business with the global tech and digital community. Coremail was honored to participate in this prestigious event, where it highlighted its pioneering work in AI Email Solutions. </div> </div> </a> </div> <div class="necom z1 mb1"> <a href="/news/detail/54.html" title=""> <div class="imgs"> <div class="img"> <img data-img="/upload/images/article/20241126/29559fba5477456c9041f34162834ab9.webp" alt=""> </div> </div> <div class="nom"> <div class="time s14 " id="create_time">1732609087</div> <div class="nit s18">Coremail Launches New Branch in Thailand: A Strategic Move Towards Southeast Asian Market Expansion </div> <div class="nix s16">Coremail announced the official opening of its new branch office in Thailand on Nov 21, aiming for it to become an entry point into Southeast Asian market. </div> </div> </a> </div> </div> </div> </section> <section class="home6" id="formSection"> <div class="wrap"> <div class="row fl-jb fl-fw"> <div class="intr"> <h2> Get in touch with us! </h2> <p> Which product you are interested in? </p> <div class="img fl-cc"><img src="static/picture/62985f9455378.svg" alt=""></div> </div> <form class="form fl-jb fl-fw" id="formBox" target="id_iframe"> <label class="label"><input type="text" class="input first" name="firstname" placeholder="Full Name *" data-must="1" ></label> <div class="label"><input type="text" class="input" name="phone" placeholder="Phone Number" id="phone"></div> <label class="label"><input type="text" class="input business" name="business" placeholder="Business Name *" data-must="1"></label> <label class="label"><input type="text" class="input email" name="email" placeholder="Email *" data-must="1"></label> <label class="label"><input type="text" class="input number" name="number" placeholder="Number of Employees *" data-must="1"> </label> <label class="label"> <input type="text" class="input country" name="cityName" placeholder="Region/Country *" data-must="1"> </label> <label class="label"> <textarea class="input msg" name="content" placeholder="Please tell us about your question *" data-must="1" cols="30" rows="10"></textarea> </label> <div class="label"> <input id="sCode" name="sCode" type="hidden" value=""> <input type="text" class="input validateCode" name="validateCode" placeholder="ValidateCode *" data-must="1"> <div class="img" style="margin-top:1em;margin-left:1em;"><img id="reloadValidateCode" src="" alt=""> <div id="header-info" type="hidden"></div> </div> </div> <div class="btn fl-cc" onclick="submitLimitMessage()"><span>submit</span></div> <div id="captcha-box" style="position: absolute;background-color: #f9f9f9;"> </div> </form> </div> </div> </section> <footer class="footer" data-img="../pc/image/f-bj.jpg"> <div class="wrap"> <div class="footA"> <a href="/index.html" class="f-logo fl-cs"><img src="/upload/images/site/20231229/0b7be584c72d4d789be8717f591e7807.png" alt=""></a> </div> <div class="footB fl-jb fl-fw"> <div class="col-l"> <div class="cont"> <div class="icon fl-sb"> <div class="ico fl-cc"> <img src="../pc/picture/62a07120b8a6d.png" alt=""> </div> <div class="txt"> <p>Headquarters:7-10/F, Building 3, No.28 Qinglan Street , Higher Education Mega Center, Panyu District, Guangzhou,China</p> </div> </div> <div class="icon fl-sb"> <div class="ico fl-cc"> <img src="../pc/picture/62a07120b8a6d.png" alt=""> </div> <div class="txt"> <p>HK Office:Flat C&D, 14/F, World Trust Tower, 50 Stanley Street, Central, Hong Kong</p> </div> </div> <div class="icon fl-sb"> <div class="ico fl-cc"> <img src="../pc/picture/62a071400d7c1.svg" alt=""> </div> <div class="txt"> <a href="mailto:sales@coremail.ai"> <p>sales@coremail.ai</p> </a> </div> </div> </div> <div class="app fl-cs"> <a href="javascript:;" class="fco fl-cc"><img src="../pc/picture/62a0716c2b4ff.svg" alt=""></a> <a href="javascript:;" class="fco fl-cc"><img src="../pc/picture/62a07174da13a.svg" alt=""></a> </div> </div> <div class="col-r fl-jb fl-fw"> <dl> <dt><a href="/email-system.html" class="a2" >XT6 Email System</a> </dt> <dt><a href="/security-gateway-email-solution.html" class="a2" > Security Gateway Email Solution</a> </dt> <dt><a href="/saas-level.html" class="a2" >SaaS Level</a> </dt> <dt><a href="/archive-system.html" class="a2" >Archive System</a> </dt> </dl> <dl> <dt><a href="/finance-industry.html" class="a2" >Finance Industry</a> </dt> <dt><a href="/government.html" class="a2" >Government</a> </dt> <dt><a href="/large-scale-enterprise.html" class="a2" >Large-Scale Enterprise</a> </dt> </dl> <dl> <dt><a href="/partner.html" class="a2" >Partner</a> </dt> <dt><a href="/support.html" class="a2" >Support</a> </dt> <dt><a href="/about-us.html" class="a2" >About Us</a> </dt> <dt><a href="/news.html" class="a2" >Press Center</a> </dt> </dl> </div> </div> <div class="footC"> <p>Copyright ©2024 Coremail.All Rights Reserved <a href="/article/detail/41.html" target="_blank" rel="noopener noreferrer" >Privacy Policy</a> </p> </div> </div> <div class="sitePcPrefix" style="display: none">https://apply.coremail.cn/hsh-yingshi-web</div> <div style="display: none" id="emailSmtpName">scb@coremail.cn;call_in@coremail.cn;</div> </footer> <!-- 视频容器 --> <div class="v-a"> <div class="v-b"> <iframe class="v-e" id="v1" src='' frameborder="0" allowfullscreen="true"></iframe> <video x5-playsinline playsinline webkit-playsinline="true" class="v-f" id="v2" controls="controls" src=""></video> </div> <a class="v-c">✕</a> </div> </body> </html> <div/> <script src="/pc/js/jquery.js"></script> <script src="/pc/js/lazyload.js"></script> <script src="/pc/js/swiper-3.4.1.min.js"></script> <script src="/pc/js/scrollreveal.min.js"></script> <script src="/pc/js/wow.min.js"></script> <script src="/pc/js/anime.min.js"></script> <script src="/pc/js/aos.js"></script> <script src="/pc/js/jquery.mcustomscrollbar.concat.min.js"></script> <script src="/pc/js/js.js"></script> <script src="/pc/js/script.js"></script> <script src="/pc/js/layer/layer.js"></script> <script src="/pc/js/tac.min.js"></script> <script src="/pc/js/translate/translate.js"></script> <script src="/pc/js/jquery.js"></script> <link rel="stylesheet" href="/pc/css/intlTelInput.css"> <script src="/pc/js/intlTelInput.min.js"></script> <script> $(function () { // 遍历所有拥有类名'.rich-content'的元素 $('.rich-content').each(function () { // 获取当前元素的富文本内容 $(this).css('display', 'none'); var richTextContent = $(this).html(); var parsedContent = "" try { parsedContent = new DOMParser().parseFromString(richTextContent, 'text/html').body.textContent; } catch (e) { } $(this).html(parsedContent); $(this).css('display', ''); // 将当前.rich-content元素的h6子元素复制出来 var h6Elements = $(this).children('h6').clone(); // 将复制的h6元素插入到.rich-content元素的位置 $(this).after(h6Elements); // 移除原来的.rich-content元素 $(this).remove(); }); }); </script> <script> var input = document.querySelector("#phone") window.intlTelInput(input); </script> <script> var filesTOTAL = []; // 检查 URL 中是否包含锚点,如果有,则滚动到锚点位置 if (window.location.hash && window.location.hash === '#formSection') { const formSection = document.getElementById('formSection'); formSection.scrollIntoView({behavior: 'smooth'}); } AOS.init({ offset: 200, duration: 600, easing: 'ease-in-sine', delay: 100, }); $(function () { //点击打开视频 $("[v-src]").click(function (e) { e.stopPropagation() $(".v-a").addClass("show") var src = $(this).attr("v-src") if (src.indexOf(".mp4") != -1) { $("#v2").attr("src", src) $("#v2").css("display", "block") $("#v1").css("display", "none") $("#v2")[0].play() } else { $("#v1").attr("src", src) $("#v1").css("display", "block") $("#v2").css("display", "none") } }) //关闭视频 $(".v-c,body").click(function () { if ($("#v2").length) { $(".v-a").removeClass("show") $("#v2")[0].pause() $("#v1").attr("src", "") // $("#v2").attr("src","") 这句不要加,加了在uc浏览器会关闭不了视频 } }) $(".v-a").click(function (e) { e.stopPropagation() }) imgPic(); $("#reloadValidateCode").click(function () { imgPic(); }) $(".s-b").click(function (e) { e.stopPropagation() var sa = $(this).parents(".s-a") if (sa.hasClass("show")) { sa.removeClass("show") } else { $(".s-a").removeClass("show") sa.addClass("show") } }) $(".s-e").click(function () { var sa = $(this).parents(".s-a") sa.find(".s-b").text($(this).text()) sa.find(".s-c").val($(this).attr("cid")) }) $(window).click(function () { $(".s-a").removeClass("show") }) $(".s-a").each(function () { var se = $(this).find(".s-e.active") $(this).find(".s-b").text(se.text()) $(this).find(".s-c").val(se.attr("cid")) }) }) var validateCodeRand="" function imgPic() { var sendData = {} var actionData = {} actionData["action"] = "messageAction"; actionData["method"] = "doCodeBase64"; sendData["actionData"] = actionData; var sitePcPrefix = ""; if ($('.sitePcPrefix') && $('.sitePcPrefix').text() != null && $('.sitePcPrefix').text() != "") { sitePcPrefix = $('.sitePcPrefix').text(); } else { sitePcPrefix = window.location.protocol + "//" + window.location.host } var url_h = sitePcPrefix + "/action.do" $.ajax({ url: url_h, cache: false, contentType: 'application/x-www-form-urlencoded;charset=UTF-8', // application/json;charset=utf-8或 'application/x-www-form-urlencoded;charset=UTF-8' data: JSON.stringify(sendData), // 如果是表单数据可以不用stringify dataType: 'json', type: "POST", complete: function (res) { }, success: function (res) { if (res.data !=null) { // alert(res.data) if (res.data.base64Image !=null) { document.getElementById('reloadValidateCode').src =res.data.base64Image; } if (res.data.validateCodeRand !=null) { validateCodeRand=res.data.validateCodeRand; } } }, error: function () { setTimeout(function () { layer.closeAll() }, 1500); } }); } function isValidEmail(email) { var emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/; return emailRegex.test(email); } function isInputNoEmpty(value) { return value.trim() !== ''; } function submitLimitMessage() { var formArray = $("#formBox").serializeArray(); var baseInfo = {} $.each(formArray, function (i, item) { if (item.name != 'id' && item.name.indexOf('[') == -1) { //字段不包含id 和[ var ss = item.cheng if (item.name.indexOf('Time') != -1) {//包含时间字段 转换时间戳 let ss = 0 try { ss = Date.parse(item.value) / 1000 } catch (e) { } baseInfo[item.name] = ss; } else { baseInfo[item.name] = item.value; } } }); var inputName = $("input[name='firstname']").val() +" phone:"+$('.iti__a11y-text').html() +""+$("input[name='phone']").val() if (!isInputNoEmpty( $("input[name='phone']").val())) { inputName = $("input[name='firstname']").val() } baseInfo['contactName'] = inputName; var business = $("input[name='business']").val() baseInfo['companyName'] = business; var number = $("input[name='number']").val() baseInfo['phone'] = number var sendData = {} baseInfo['typeId'] = 2 baseInfo['web_message_type_id'] = 2 baseInfo['sNumber'] = number baseInfo['en'] = 1 var actionData = {} actionData["action"] = "messageAction"; actionData["method"] = "doMessage"; sendData["actionData"] = actionData; var baseInfo2 = JSON.parse("{\n" + "\"web_message_type_id\":\"2\",\n" + "\"company\":\"\",\n" + "\"number\":\"\",\n" + "\"city\":\"\",\n" + "\"name\":\"\",\n" + "\"phone\":\"\",\n" + "\"validateCode\":\"\",\n" + "\"phoneCode\":\"\",\n" + "\"sCode\":\"\",\n" + "\"sNumber\":\"\",\n" + "\"create_date\":\"\"\n" + "}"); if (!isInputNoEmpty( $("input[name='firstname']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("input[name='phone']").val())) { // layer.msg("Can not be empty !") //return } if (!isInputNoEmpty( $("input[name='business']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("input[name='email']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("input[name='number']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("textarea[name='content']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("input[name='cityName']").val())) { layer.msg("Can not be empty !") return } if (!isInputNoEmpty( $("input[name='validateCode']").val())) { layer.msg("Can not be empty !") return } baseInfo2['typeId'] = baseInfo["typeId"]; baseInfo2["contactName"] = baseInfo["contactName"]; baseInfo2["phone"] = baseInfo["phone"]; baseInfo2["content"] = baseInfo["content"]; baseInfo2["validateCode"] = baseInfo["validateCode"]; baseInfo2["content"] = baseInfo["content"]; baseInfo2["cityName"] = baseInfo["cityName"]; baseInfo2["companyName"] = baseInfo["companyName"]; baseInfo2["email"] = baseInfo["email"]; if (!isValidEmail(baseInfo["email"])) { layer.msg("Email format error !") return } baseInfo2["en"] = 1; baseInfo2["validateCodeRand"] = validateCodeRand; sendData["requestData"] = baseInfo2; var sitePcPrefix = ""; if ($('.sitePcPrefix') && $('.sitePcPrefix').text() != null && $('.sitePcPrefix').text() != "") { sitePcPrefix = $('.sitePcPrefix').text(); } else { sitePcPrefix = window.location.protocol + "//" + window.location.host } var url_h = sitePcPrefix + "/action.do" var index = layer.load(1, { shade: [0.1, '#000'] //0.1透明度的白色背景 }); $.ajax({ url: url_h, cache: false, contentType: 'application/x-www-form-urlencoded;charset=UTF-8', // application/json;charset=utf-8或 'application/x-www-form-urlencoded;charset=UTF-8' data: JSON.stringify(sendData), // 如果是表单数据可以不用stringify dataType: 'json', type: "POST", complete: function (res) { }, success: function (res) { setTimeout(function () { layer.closeAll() }, 1500); //console.log(JSON.stringify(res)) // alert("提交成功"); // location.reload() if (res.errCode == "0") { // alert(res.data) layer.msg(res.data) // 刷新当前页 setTimeout(function () { location.reload() }, 1500); } else { // {"data":{},"errCode":"20003","msg":"输入验证码错误!"} imgPic() var msg = res.msg if (msg == "输入验证码错误!") { layer.msg("Input verification code error!") } } }, error: function () { setTimeout(function () { layer.closeAll() }, 1500); } }); return false; } </script> <script> document.addEventListener("DOMContentLoaded", function () { $(".necom").find("#create_time").each(function () { var content = this.innerHTML; // 获取div中的内容 // 使用内置 Date 对象的各种方法,分别获取年、月、日、时、分、秒,并拼接成想要的格式 const timestamp = content; // 示例时间戳 const date = new Date(timestamp * 1000); const year = date.getFullYear(); const month = date.getMonth() + 1; // 注意月份从 0 开始,所以需要加 1 var monthstr = ''; var daystr = ''; if (month < 10) { monthstr = "0" + month.toString() } else { monthstr = month.toString() } const day = date.getDate(); if (day < 10) { daystr = "0" + day.toString() } else { daystr = day.toString() } const formattedDate = year + "-" + monthstr + "-" + daystr; //console.log(formattedDate); // 输出格式为 "2021-6-3 11:32:59" this.innerHTML = formattedDate }) }); </script>

Pages: 1 2 3 4 5 6 7 8 9 10