{"id":42413,"date":"2026-06-29T11:14:02","date_gmt":"2026-06-29T04:14:02","guid":{"rendered":"https:\/\/interdata.vn\/blog\/?p=42413"},"modified":"2026-06-29T11:15:43","modified_gmt":"2026-06-29T04:15:43","slug":"smtp-gmail-la-gi","status":"publish","type":"post","link":"https:\/\/interdata.vn\/blog\/smtp-gmail-la-gi\/","title":{"rendered":"SMTP Gmail L\u00e0 G\u00ec? H\u01b0\u1edbng D\u1eabn C\u1ea5u H\u00ecnh SMTP G\u1eedi Mail Web"},"content":{"rendered":"\n\n<style>\n.interdata-plan-carousel,.interdata-plan-carousel *{box-sizing:border-box}\n.interdata-plan-carousel{--blue:#005bea;--blue-dark:#004dcc;--text:#071832;--muted:#516173;--border:#d8e6fb;--bg:#f3f8ff;--shadow:0 5px 14px rgba(0,62,145,.08);container-type:inline-size;background:var(--bg);padding:14px 40px 18px;position:relative;overflow:hidden}\n.interdata-carousel-heading{color:#f00;font-family:Roboto,sans-serif;font-size:18px;line-height:1.35;font-weight:800;text-align:center;margin:0 0 14px}\n.interdata-plan-viewport{overflow:hidden;width:100%}\n.interdata-plan-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 0 4px}\n.interdata-plan-track::-webkit-scrollbar{display:none}\n.interdata-plan-card{flex:0 0 calc((100% - 36px)\/4);min-width:0;background:#fff;border:1px solid var(--border);border-radius:8px;padding:15px 10px 13px;min-height:370px;display:flex;flex-direction:column;scroll-snap-align:start;box-shadow:var(--shadow)}\n.interdata-plan-title{color:var(--blue-dark);font-size:16px;line-height:1.22;font-weight:800;text-align:center;margin:0 0 7px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.interdata-plan-price{color:var(--blue-dark);font-size:24px;line-height:1;font-weight:900;text-align:center;margin-bottom:12px;white-space:nowrap;letter-spacing:0}\n.interdata-plan-price span{font-size:10px;font-weight:800;margin-left:2px}\n.interdata-plan-badge{align-self:center;display:inline-flex;align-items:center;justify-content:center;background:#ff3934;color:#fff;border-radius:5px;padding:7px 8px;font-size:9px;line-height:1;font-weight:800;margin-bottom:15px;white-space:nowrap;max-width:100%}\n.interdata-plan-features{list-style:none!important;padding:0!important;margin:0!important}\n.interdata-plan-features li{display:flex;gap:7px;align-items:flex-start;color:var(--text);font-size:12px;line-height:1.35;font-weight:700;text-align:left;margin:0 0 10px!important;padding:0!important}\n.interdata-plan-icon{width:14px;min-width:14px;height:14px;color:#0069ff;margin-top:2px}\n.interdata-plan-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}\n.interdata-plan-spacer{flex:1;min-height:16px}\n.interdata-plan-button{display:flex;align-items:center;justify-content:center;min-height:42px;width:100%;background:var(--blue);color:#fff!important;border-radius:5px;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 7px 14px rgba(0,91,234,.24);transition:transform .2s ease,background .2s ease}\n.interdata-plan-button:hover{background:var(--blue-dark);color:#fff!important;transform:translateY(-1px)}\n.interdata-carousel-arrow{position:absolute;top:50%;z-index:5;width:44px;height:54px;border:2px solid #fff!important;border-radius:999px;background:var(--blue)!important;color:#fff!important;box-shadow:0 8px 22px rgba(0,62,145,.32);display:flex!important;align-items:center;justify-content:center;cursor:pointer;transform:translateY(-35%);transition:background .2s ease,color .2s ease,opacity .2s ease,transform .2s ease}\n.interdata-carousel-arrow:hover{background:var(--blue-dark)!important;color:#fff!important;transform:translateY(-35%) scale(1.04)}\n.interdata-carousel-arrow:disabled{opacity:.78;cursor:not-allowed;background:#8aa6cf!important;color:#fff!important}\n.interdata-carousel-arrow:disabled:hover{background:#8aa6cf!important;color:#fff!important;transform:translateY(-35%)}\n.interdata-carousel-arrow svg{display:none!important}\n.interdata-carousel-arrow:before{content:none!important;display:none!important}\n.interdata-carousel-mark{display:block!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:38px!important;font-weight:900!important;line-height:1!important;text-align:center!important;pointer-events:none!important;transform:translateY(-2px)}\n.interdata-carousel-prev{left:14px}\n.interdata-carousel-prev .interdata-carousel-mark{margin-left:-2px}\n.interdata-carousel-next{right:14px}\n.interdata-carousel-next .interdata-carousel-mark{margin-right:-2px}\n@container (max-width:640px){.interdata-plan-carousel{padding:12px 38px 16px}.interdata-plan-card{flex-basis:calc((100% - 12px)\/2);min-height:370px}.interdata-carousel-heading{font-size:16px}}\n@container (max-width:480px){.interdata-plan-carousel{padding:12px 34px 16px}.interdata-plan-card{flex-basis:100%;min-height:360px}.interdata-plan-price{font-size:25px}.interdata-carousel-arrow{width:34px;height:44px}.interdata-carousel-mark{font-size:32px!important}.interdata-carousel-prev{left:5px}.interdata-carousel-next{right:5px}}\n<\/style>\n\n<div class=\"interdata-plan-carousel\" data-interdata-carousel>\n  <div class=\"interdata-carousel-heading\">Si\u00eau \u01afu \u0110\u00e3i VPS \/ CLOUD SERVER - Ti\u1ebft Ki\u1ec7m \u0110\u1ebfn 70%<\/div>\n\n  <svg width=\"0\" height=\"0\" style=\"position:absolute;visibility:hidden\" aria-hidden=\"true\">\n    <symbol id=\"id-icon-cpu\" viewBox=\"0 0 24 24\"><rect x=\"7\" y=\"7\" width=\"10\" height=\"10\" rx=\"2\"><\/rect><path d=\"M4 9h3M4 15h3M17 9h3M17 15h3M9 4v3M15 4v3M9 17v3M15 17v3\"><\/path><path d=\"M10 10h4v4h-4z\"><\/path><\/symbol>\n    <symbol id=\"id-icon-ram\" viewBox=\"0 0 24 24\"><rect x=\"4\" y=\"8\" width=\"16\" height=\"8\" rx=\"2\"><\/rect><path d=\"M7 16v2M11 16v2M15 16v2M19 16v2M7 11h1M11 11h1M15 11h1\"><\/path><\/symbol>\n    <symbol id=\"id-icon-storage\" viewBox=\"0 0 24 24\"><rect x=\"6\" y=\"3\" width=\"12\" height=\"18\" rx=\"2\"><\/rect><path d=\"M9 7h6\"><\/path><circle cx=\"12\" cy=\"16\" r=\"1.5\"><\/circle><\/symbol>\n    <symbol id=\"id-icon-network\" viewBox=\"0 0 24 24\"><path d=\"M5 12.5a10 10 0 0 1 14 0\"><\/path><path d=\"M8.5 16a5 5 0 0 1 7 0\"><\/path><path d=\"M12 19h.01\"><\/path><\/symbol>\n    <symbol id=\"id-icon-gift\" viewBox=\"0 0 24 24\"><rect x=\"3\" y=\"8\" width=\"18\" height=\"13\" rx=\"2\"><\/rect><path d=\"M12 8v13M3 12h18\"><\/path><path d=\"M7.5 8C6.1 8 5 6.9 5 5.5S6.1 3 7.5 3C10 3 12 8 12 8\"><\/path><path d=\"M16.5 8C17.9 8 19 6.9 19 5.5S17.9 3 16.5 3C14 3 12 8 12 8\"><\/path><\/symbol>\n  <\/svg>\n\n  <button class=\"interdata-carousel-arrow interdata-carousel-prev\" type=\"button\" aria-label=\"Xem 4 g\u00f3i tr\u01b0\u1edbc\">\n    <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M15 18l-6-6 6-6\"><\/path><\/svg>\n    <span class=\"interdata-carousel-mark\" aria-hidden=\"true\">&#8249;<\/span>\n  <\/button>\n\n  <div class=\"interdata-plan-viewport\">\n    <div class=\"interdata-plan-track\">\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Premium Base<\/h3>\n        <div class=\"interdata-plan-price\">299K<span>\/3 th\u00e1ng<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>2 vCore Intel<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>2GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>30GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 300Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/best-value-plans-2026\/best-value-plans-premium-base\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Premium Base<\/h3>\n        <div class=\"interdata-plan-price\">999K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>3 vCore Intel<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>3GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>30GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 300Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/cyber-week-2026\/premium-base\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Premium Pro<\/h3>\n        <div class=\"interdata-plan-price\">2.599K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>6 vCore Intel<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>8GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>80GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 350Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/cyber-week-2026\/premium-pro\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Premium Ultra<\/h3>\n        <div class=\"interdata-plan-price\">5.679K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>12 vCore Intel<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>16GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>180GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 450Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/cyber-week-2026\/premium-ultra\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">BD-CLOUD 1<\/h3>\n        <div class=\"interdata-plan-price\">988K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>2 vCPU<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>2 GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>30 GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 300 Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/bd-cloud-performance-2026\/bd-cloud-1\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">BD-CLOUD 2<\/h3>\n        <div class=\"interdata-plan-price\">2.988K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>4 vCPU<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>8 GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>80 GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 300 Mbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/bd-cloud-performance-2026\/bd-cloud-2\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Cloud-Day - Base<\/h3>\n        <div class=\"interdata-plan-price\">2.666K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-gift\"><\/use><\/svg><\/span>T\u1eb7ng 80GB S3 v\u00e0 1 n\u0103m s\u1eed d\u1ee5ng khi mua 2 n\u0103m tr\u1edf l\u00ean<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>4 vCPU AMD G3<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>6GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>60GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 10Gbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/cloud-day-by-interdata-2026\/cloud-day-base\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n\n      <article class=\"interdata-plan-card\">\n        <h3 class=\"interdata-plan-title\">Cloud-Day - Pro<\/h3>\n        <div class=\"interdata-plan-price\">5.666K<span>\/n\u0103m<\/span><\/div>\n        <div class=\"interdata-plan-badge\">GIA H\u1ea0N KH\u00d4NG \u0110\u1ed4I GI\u00c1<\/div>\n        <ul class=\"interdata-plan-features\">\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-gift\"><\/use><\/svg><\/span>T\u1eb7ng 200GB S3 v\u00e0 1 n\u0103m s\u1eed d\u1ee5ng khi mua 2 n\u0103m tr\u1edf l\u00ean<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-cpu\"><\/use><\/svg><\/span>8 vCPU AMD G3<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-ram\"><\/use><\/svg><\/span>12GB RAM<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-storage\"><\/use><\/svg><\/span>160GB SSD NVMe<\/li>\n          <li><span class=\"interdata-plan-icon\"><svg><use href=\"#id-icon-network\"><\/use><\/svg><\/span>Network: 10Gbps<\/li>\n        <\/ul>\n        <div class=\"interdata-plan-spacer\"><\/div>\n        <a class=\"interdata-plan-button\" href=\"https:\/\/support.interdata.vn\/index.php?rp=\/store\/cloud-day-by-interdata-2026\/cloud-day-pro\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u0110\u0103ng k\u00fd ngay<\/a>\n      <\/article>\n    <\/div>\n  <\/div>\n\n  <button class=\"interdata-carousel-arrow interdata-carousel-next\" type=\"button\" aria-label=\"Xem 4 g\u00f3i ti\u1ebfp theo\">\n    <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M9 18l6-6-6-6\"><\/path><\/svg>\n    <span class=\"interdata-carousel-mark\" aria-hidden=\"true\">&#8250;<\/span>\n  <\/button>\n<\/div>\n\n<script>\n(function(){\n  function setupInterDataCarousel(root){\n    var track=root.querySelector('.interdata-plan-track');\n    var prev=root.querySelector('.interdata-carousel-prev');\n    var next=root.querySelector('.interdata-carousel-next');\n    if(!track||!prev||!next||track.dataset.ready==='1')return;\n    track.dataset.ready='1';\n\n    function pageWidth(){\n      return track.clientWidth;\n    }\n\n    function updateButtons(){\n      var maxScroll=track.scrollWidth-track.clientWidth-2;\n      prev.disabled=track.scrollLeft<=2;\n      next.disabled=track.scrollLeft>=maxScroll;\n    }\n\n    prev.addEventListener('click',function(){\n      track.scrollBy({left:-pageWidth(),behavior:'smooth'});\n    });\n\n    next.addEventListener('click',function(){\n      track.scrollBy({left:pageWidth(),behavior:'smooth'});\n    });\n\n    track.addEventListener('scroll',function(){\n      window.requestAnimationFrame(updateButtons);\n    });\n\n    window.addEventListener('resize',updateButtons);\n    updateButtons();\n  }\n\n  function initInterDataCarousels(){\n    document.querySelectorAll('[data-interdata-carousel]').forEach(setupInterDataCarousel);\n  }\n\n  if(document.readyState==='loading'){\n    document.addEventListener('DOMContentLoaded',initInterDataCarousels);\n  }else{\n    initInterDataCarousels();\n  }\n})();\n<\/script>\n\n\t<div id=\"gap-1206107268\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1206107268 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<p style=\"text-align: justify;\"><span style=\"font-size: 100%;\"><strong>SMTP Gmail<\/strong> l\u00e0 c\u00e1ch nhanh v\u00e0 r\u1ebb nh\u1ea5t \u0111\u1ec3 website c\u1ee7a b\u1ea1n g\u1eedi \u0111\u01b0\u1ee3c mail th\u1eadt: form li\u00ean h\u1ec7, OTP, email qu\u00ean m\u1eadt kh\u1ea9u, \u0111\u01a1n h\u00e0ng. N\u1ebfu kh\u00e1ch \u0111i\u1ec1n form m\u00e0 b\u1ea1n kh\u00f4ng nh\u1eadn \u0111\u01b0\u1ee3c g\u00ec, ho\u1eb7c mail lu\u00f4n r\u01a1i v\u00e0o Spam, g\u1ea7n nh\u01b0 ch\u1eafc ch\u1eafn c\u1ea5u h\u00ecnh g\u1eedi mail \u0111ang sai. B\u00e0i n\u00e0y h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u1ea5u h\u00ecnh \u0111\u00fang t\u1eeb \u0111\u1ea7u, k\u00e8m code v\u00e0 c\u00e1ch x\u1eed l\u00fd l\u1ed7i, theo kinh nghi\u1ec7m v\u1eadn h\u00e0nh th\u1eadt t\u1ea1i <a style=\"background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; font-weight: bold;\" href=\"\/\">InterData<\/a>.<br \/>\n<\/span><\/p>\n<div style=\"background-color: #eff6ff; padding: 20px; border: 1.5px solid #BFDBFE; border-radius: 12px; margin-bottom: 40px; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.05);\">\n<p style=\"font-family: 'Be Vietnam Pro', sans-serif; font-weight: bold; font-size: 18px; margin-top: 0; margin-bottom: 15px; color: #1e3a8a;\">N\u1ed8I DUNG B\u00c0I VI\u1ebeT<\/p>\n<ul style=\"list-style-type: none; padding-left: 0; margin: 0;\">\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section1\">SMTP Gmail l\u00e0 g\u00ec v\u00e0 v\u00ec sao website c\u1ee7a b\u1ea1n c\u1ea7n n\u00f3?<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section2\">Th\u00f4ng s\u1ed1 SMTP Gmail ph\u1ea3i nh\u1edb: host, port 465 v\u00e0 587<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section3\">T\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng Gmail cho SMTP (m\u1edbi nh\u1ea5t)<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section4\">C\u1ea5u h\u00ecnh WordPress SMTP b\u1eb1ng plugin WP Mail SMTP<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section5\">G\u1eedi mail b\u1eb1ng code PHP v\u00e0 Node.js qua SMTP Gmail<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section6\">Kh\u1eafc ph\u1ee5c l\u1ed7i g\u1eedi mail v\u00e0 mail v\u00e0o Spam<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#section7\">Gi\u1edbi h\u1ea1n c\u1ee7a SMTP Gmail v\u00e0 khi n\u00e0o c\u1ea7n mail server ri\u00eang<\/a><\/li>\n<li style=\"margin-bottom: 10px;\"><a style=\"text-decoration: none; color: #2563eb; font-weight: bold;\" href=\"#faq\">C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p (FAQ)<\/a><\/li>\n<\/ul>\n<\/div>\n<h2 id=\"section1\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">SMTP Gmail l\u00e0 g\u00ec v\u00e0 v\u00ec sao website c\u1ee7a b\u1ea1n c\u1ea7n n\u00f3?<\/h2>\n<p style=\"text-align: justify;\">SMTP Gmail l\u00e0 vi\u1ec7c d\u00f9ng m\u00e1y ch\u1ee7 g\u1eedi th\u01b0 c\u1ee7a Google (SMTP.Gmail.com) l\u00e0m &#8220;b\u01b0u \u0111i\u1ec7n&#8221; \u0111\u1ec3 website c\u1ee7a b\u1ea1n g\u1eedi email ra ngo\u00e0i. Thay v\u00ec \u0111\u1ec3 PHP t\u1ef1 g\u1eedi qua h\u00e0m <code>mail()<\/code> d\u1ec5 b\u1ecb ch\u1eb7n, b\u1ea1n \u0111\u1ea9y email qua h\u1ea1 t\u1ea7ng c\u1ee7a Google \u0111\u00e3 c\u00f3 s\u1eb5n uy t\u00edn g\u1eedi nh\u1eadn.<\/p>\n<p style=\"text-align: justify;\">SMTP (Simple Mail Transfer Protocol) l\u00e0 giao th\u1ee9c ti\u00eau chu\u1ea9n \u0111\u1ec3 truy\u1ec1n email gi\u1eefa c\u00e1c m\u00e1y ch\u1ee7. Khi n\u00f3i &#8220;server mail&#8221;, ng\u01b0\u1eddi ta th\u01b0\u1eddng \u00e1m ch\u1ec9 ch\u00ednh c\u00e1i m\u00e1y ch\u1ee7 ch\u1ea1y SMTP n\u00e0y. Web c\u1ee7a b\u1ea1n ch\u1ec9 l\u00e0 m\u1ed9t SMTP client: n\u00f3 k\u1ebft n\u1ed1i t\u1edbi m\u00e1y ch\u1ee7, \u0111\u0103ng nh\u1eadp, r\u1ed3i nh\u1edd m\u00e1y ch\u1ee7 g\u1eedi h\u1ed9.<\/p>\n<p style=\"text-align: justify;\">V\u00ec sao n\u00ean d\u00f9ng? V\u00ec h\u00e0m <code>mail()<\/code> m\u1eb7c \u0111\u1ecbnh tr\u00ean hosting v\u00e0 VPS g\u1eedi qua IP l\u1ea1, kh\u00f4ng c\u00f3 SPF\/DKIM, g\u1ea7n nh\u01b0 ch\u1eafc ch\u1eafn v\u00e0o Spam ho\u1eb7c b\u1ecb t\u1eeb ch\u1ed1i. D\u00f9ng SMTP Gmail, email \u0111i qua IP c\u1ee7a Google, t\u1ef7 l\u1ec7 v\u00e0o Inbox cao h\u01a1n h\u1eb3n cho nhu c\u1ea7u giao d\u1ecbch nh\u1ecf.<\/p>\n<ul style=\"list-style-type: disc; padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\"><strong>Tr\u01b0\u1eddng h\u1ee3p n\u00ean d\u00f9ng:<\/strong> form li\u00ean h\u1ec7, mail OTP, email x\u00e1c nh\u1eadn \u0111\u01a1n h\u00e0ng, th\u00f4ng b\u00e1o n\u1ed9i b\u1ed9 v\u1edbi l\u01b0u l\u01b0\u1ee3ng th\u1ea5p \u0111\u1ebfn trung b\u00ecnh.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>\u0110i\u1ec1u ki\u1ec7n b\u1eaft bu\u1ed9c:<\/strong> t\u00e0i kho\u1ea3n Gmail\/Google Workspace ph\u1ea3i b\u1eadt b\u1ea3o m\u1eadt 2 l\u1edbp (2-Step Verification) th\u00ec m\u1edbi t\u1ea1o \u0111\u01b0\u1ee3c M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Gi\u1edbi h\u1ea1n c\u1ea7n bi\u1ebft:<\/strong> Gmail c\u00e1 nh\u00e2n ch\u1eb7n kho\u1ea3ng 500 email\/ng\u00e0y, Google Workspace kho\u1ea3ng 2.000 email\/ng\u00e0y. V\u01b0\u1ee3t ng\u01b0\u1ee1ng l\u00e0 b\u1ecb kh\u00f3a g\u1eedi t\u1ea1m th\u1eddi.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-42416\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/SMTP-Gmail.jpg\" alt=\"SMTP Gmail\" width=\"700\" height=\"394\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/SMTP-Gmail.jpg 700w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/SMTP-Gmail-300x169.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h2 id=\"section2\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">Th\u00f4ng s\u1ed1 SMTP Gmail ph\u1ea3i nh\u1edb: host, port 465 v\u00e0 587<\/h2>\n<p style=\"text-align: justify;\">Ph\u1ea7n l\u1edbn l\u1ed7i c\u1ea5u h\u00ecnh SMTP \u0111\u1ebfn t\u1eeb vi\u1ec7c ch\u1ecdn sai c\u1eb7p port v\u00e0 ki\u1ec3u m\u00e3 h\u00f3a. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 th\u00f4ng s\u1ed1 chu\u1ea9n c\u1ee7a Google. Nh\u1edb k\u1ef9: port ph\u1ea3i \u0111i \u0111\u00fang v\u1edbi lo\u1ea1i m\u00e3 h\u00f3a, kh\u00f4ng gh\u00e9p lung tung.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 15px;\">\n<thead>\n<tr style=\"background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); color: #ffffff;\">\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">Th\u00f4ng s\u1ed1<\/th>\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">Gi\u00e1 tr\u1ecb<\/th>\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">Ghi ch\u00fa<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\"><strong>SMTP Host<\/strong><\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">SMTP.Gmail.com<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">D\u00f9ng chung cho c\u1ea3 Gmail v\u00e0 Workspace<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\"><strong>Port 465<\/strong><\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">SSL\/TLS (implicit)<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">M\u00e3 h\u00f3a ngay khi k\u1ebft n\u1ed1i. \u1ed4n \u0111\u1ecbnh, ph\u1ed5 bi\u1ebfn tr\u00ean hosting Vi\u1ec7t<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\"><strong>Port 587<\/strong><\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">STARTTLS<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">K\u1ebft n\u1ed1i th\u01b0\u1eddng r\u1ed3i n\u00e2ng c\u1ea5p l\u00ean TLS. L\u00e0 chu\u1ea9n Google khuy\u1ebfn ngh\u1ecb<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\"><strong>Username<\/strong><\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">\u0111\u1ecba ch\u1ec9 Gmail \u0111\u1ea7y \u0111\u1ee7<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">V\u00ed d\u1ee5: ban@Gmail.com<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\"><strong>Password<\/strong><\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng 16 k\u00fd t\u1ef1<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">KH\u00d4NG d\u00f9ng m\u1eadt kh\u1ea9u \u0111\u0103ng nh\u1eadp Gmail th\u01b0\u1eddng<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">N\u00ean ch\u1ecdn port 465 hay 587?<\/h3>\n<p style=\"text-align: justify;\">C\u1ea3 hai \u0111\u1ec1u m\u00e3 h\u00f3a v\u00e0 \u0111\u1ec1u an to\u00e0n. Kh\u00e1c bi\u1ec7t n\u1eb1m \u1edf c\u00e1ch b\u1eaft tay TLS. V\u1edbi PHPMailer v\u00e0 \u0111a s\u1ed1 plugin WordPress, port 465 (SSL) th\u01b0\u1eddng c\u1eafm l\u00e0 ch\u1ea1y. N\u1ebfu nh\u00e0 cung c\u1ea5p hosting ch\u1eb7n 465, h\u00e3y chuy\u1ec3n sang 587 (STARTTLS). \u0110\u1eebng bao gi\u1edd d\u00f9ng port 25 cho Gmail: c\u1ed5ng n\u00e0y h\u1ea7u h\u1ebft b\u1ecb ch\u1eb7n \u0111\u1ec3 ch\u1ed1ng spam.<\/p>\n<ul style=\"list-style-type: disc; padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\"><strong>Ch\u1ecdn 465 khi:<\/strong> d\u00f9ng PHPMailer\/WordPress tr\u00ean hosting Vi\u1ec7t, mu\u1ed1n c\u1ea5u h\u00ecnh \u0111\u01a1n gi\u1ea3n, \u00edt l\u1ed7i handshake.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Ch\u1ecdn 587 khi:<\/strong> 465 b\u1ecb ch\u1eb7n outbound, ho\u1eb7c th\u01b0 vi\u1ec7n\/khung c\u1ee7a b\u1ea1n m\u1eb7c \u0111\u1ecbnh STARTTLS (nhi\u1ec1u SDK Node, Python).<\/li>\n<\/ul>\n<h2 id=\"section3\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">T\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng Gmail cho SMTP (m\u1edbi nh\u1ea5t)<\/h2>\n<p style=\"text-align: justify;\">M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng (App Password) l\u00e0 chu\u1ed7i 16 k\u00fd t\u1ef1 d\u00f9ng ri\u00eang cho \u1ee9ng d\u1ee5ng b\u00ean th\u1ee9 ba \u0111\u0103ng nh\u1eadp SMTP, thay cho m\u1eadt kh\u1ea9u Gmail th\u01b0\u1eddng. Google \u0111\u00e3 ng\u1eebng &#8220;Less secure app access&#8221; t\u1eeb 2022, n\u00ean \u0111\u00e2y g\u1ea7n nh\u01b0 l\u00e0 c\u00e1ch duy nh\u1ea5t ngo\u00e0i OAuth 2.0 \u0111\u1ec3 web c\u1ee7a b\u1ea1n g\u1eedi mail qua Gmail.<\/p>\n<p style=\"text-align: justify;\">\u0110i\u1ec1u ki\u1ec7n b\u1eaft bu\u1ed9c: t\u00e0i kho\u1ea3n ph\u1ea3i b\u1eadt b\u1ea3o m\u1eadt 2 l\u1edbp tr\u01b0\u1edbc. N\u1ebfu ch\u01b0a b\u1eadt, m\u1ee5c t\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng s\u1ebd kh\u00f4ng hi\u1ec7n ra.<\/p>\n<ol style=\"padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\">V\u00e0o <strong>T\u00e0i kho\u1ea3n Google \u2192 B\u1ea3o m\u1eadt<\/strong>, b\u1eadt <strong>X\u00e1c minh 2 b\u01b0\u1edbc<\/strong> (2-Step Verification) n\u1ebfu ch\u01b0a c\u00f3.<\/li>\n<li style=\"margin-bottom: 10px;\">Truy c\u1eadp trang M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng t\u1ea1i <code>myaccount.google.com\/apppasswords<\/code> (ho\u1eb7c t\u00ecm &#8220;App passwords&#8221; trong \u00f4 t\u00ecm ki\u1ebfm c\u1ee7a trang T\u00e0i kho\u1ea3n).<\/li>\n<li style=\"margin-bottom: 10px;\">\u0110\u1eb7t t\u00ean g\u1ee3i nh\u1edb cho \u1ee9ng d\u1ee5ng, v\u00ed d\u1ee5 <em>Website WordPress<\/em> ho\u1eb7c <em>SMTP Server PHP<\/em>, r\u1ed3i b\u1ea5m <strong>T\u1ea1o<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">Google hi\u1ec3n th\u1ecb chu\u1ed7i 16 k\u00fd t\u1ef1 (4 nh\u00f3m 4 k\u00fd t\u1ef1). Sao ch\u00e9p ngay v\u00ec n\u00f3 ch\u1ec9 hi\u1ec7n m\u1ed9t l\u1ea7n.<\/li>\n<li style=\"margin-bottom: 10px;\">D\u00e1n chu\u1ed7i n\u00e0y v\u00e0o \u00f4 Password trong c\u1ea5u h\u00ecnh SMTP. Khi nh\u1eadp v\u00e0o code, b\u1ea1n c\u00f3 th\u1ec3 b\u1ecf d\u1ea5u c\u00e1ch gi\u1eefa c\u00e1c nh\u00f3m.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><em><strong>L\u01b0u \u00fd b\u1ea3o m\u1eadt:<\/strong><\/em> m\u1ed7i \u1ee9ng d\u1ee5ng n\u00ean m\u1ed9t M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng ri\u00eang. Khi nghi l\u1ed9 ho\u1eb7c ngh\u1ec9 d\u00f9ng, v\u00e0o l\u1ea1i trang n\u00e0y thu h\u1ed3i m\u1eadt kh\u1ea9u \u0111\u00f3, c\u00e1c \u1ee9ng d\u1ee5ng kh\u00e1c kh\u00f4ng b\u1ecb \u1ea3nh h\u01b0\u1edfng. V\u1edbi t\u00e0i kho\u1ea3n Google Workspace doanh nghi\u1ec7p, admin c\u00f3 th\u1ec3 \u0111\u00e3 t\u1eaft App Password; khi \u0111\u00f3 ph\u1ea3i d\u00f9ng OAuth 2.0.<\/p>\n<div style=\"display: flex; flex-wrap: wrap; background-color: #fff; border: 1.5px solid #BFDBFE; box-shadow: 0 8px 20px rgba(37,99,235,0.08); border-radius: 12px; overflow: hidden; margin: 35px 0;\">\n<div style=\"flex: 1; min-width: 250px; background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); display: flex; align-items: center; justify-content: center; padding: 30px; text-align: center;\">\n<div>\n<p style=\"color: white; font-size: 34px; font-family: 'Be Vietnam Pro', sans-serif; font-weight: bold; margin: 0; line-height: 1.1;\">Thu\u00ea VPS<\/p>\n<p style=\"color: #dbeafe; font-size: 15px; font-weight: 600; margin-top: 12px;\">To\u00e0n quy\u1ec1n root \u00b7 SSD NVMe U.2 \u00b7 H\u1ed7 tr\u1ee3 k\u1ef9 thu\u1eadt 24\/7<\/p>\n<\/div>\n<\/div>\n<div style=\"flex: 2; padding: 25px; min-width: 300px;\">\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 0; font-size: 20px;\">C\u1ea7n m\u00f4i tr\u01b0\u1eddng t\u1ef1 c\u1ea5u h\u00ecnh SMTP v\u00e0 ch\u1ea1y code g\u1eedi mail?<\/h3>\n<p style=\"text-align: justify; font-size: 15px; margin-bottom: 15px;\">N\u1ebfu b\u1ea1n t\u1ef1 host WordPress, Laravel hay Node.js v\u00e0 c\u1ea7n m\u1edf port, c\u00e0i PHPMailer, \u0111\u1eb7t cron g\u1eedi mail theo \u00fd m\u00ecnh, m\u1ed9t VPS c\u00f3 quy\u1ec1n root gi\u00fap b\u1ea1n ki\u1ec3m so\u00e1t ho\u00e0n to\u00e0n c\u1ea5u h\u00ecnh thay v\u00ec b\u1ecb gi\u1edbi h\u1ea1n nh\u01b0 tr\u00ean hosting d\u00f9ng chung.<\/p>\n<p><a style=\"background: linear-gradient(90deg, #2563EB 0%, #1E3A8A 100%); color: white; padding: 12px 25px; text-decoration: none; font-weight: 600; border-radius: 8px; font-size: 15px; display: inline-block; box-shadow: 0 5px 15px rgba(37,99,235,0.3);\" href=\"https:\/\/interdata.vn\/thue-vps\/\" target=\"_blank\" rel=\"noopener\">Xem c\u1ea5u h\u00ecnh VPS \u27f6<\/a><\/p>\n<\/div>\n<\/div>\n<h2 id=\"section4\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">C\u1ea5u h\u00ecnh WordPress SMTP b\u1eb1ng plugin WP Mail SMTP<\/h2>\n<p style=\"text-align: justify;\">\u0110\u00e2y l\u00e0 t\u00ecnh hu\u1ed1ng ph\u1ed5 bi\u1ebfn nh\u1ea5t: website WordPress c\u00f3 form li\u00ean h\u1ec7 (Contact Form 7, WPForms) nh\u01b0ng kh\u00e1ch g\u1eedi m\u00e0 b\u1ea1n kh\u00f4ng nh\u1eadn \u0111\u01b0\u1ee3c mail. Nguy\u00ean nh\u00e2n th\u01b0\u1eddng l\u00e0 WordPress \u0111ang d\u00f9ng h\u00e0m <code>wp_mail()<\/code> qua PHP mail, b\u1ecb nh\u00e0 cung c\u1ea5p ch\u1eb7n ho\u1eb7c b\u1ecb l\u1ecdc spam. Gi\u1ea3i ph\u00e1p l\u00e0 \u00e9p WordPress g\u1eedi qua SMTP Gmail b\u1eb1ng plugin WP Mail SMTP.<\/p>\n<ol style=\"padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\">V\u00e0o <strong>Plugins \u2192 C\u00e0i m\u1edbi<\/strong>, t\u00ecm <a href=\"https:\/\/wordpress.org\/plugins\/wp-mail-smtp\/\" target=\"_blank\" rel=\"nofollow noopener\"><strong>WP Mail SMTP<\/strong><\/a>, c\u00e0i \u0111\u1eb7t v\u00e0 k\u00edch ho\u1ea1t.<\/li>\n<li style=\"margin-bottom: 10px;\">M\u1edf <strong>WP Mail SMTP \u2192 Settings<\/strong>. Ph\u1ea7n Mailer ch\u1ecdn <strong>Other SMTP<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">\u0110i\u1ec1n <code>SMTP.Gmail.com<\/code>, Encryption ch\u1ecdn <strong>SSL<\/strong>, Port <strong>465<\/strong> (ho\u1eb7c TLS + 587).<\/li>\n<li style=\"margin-bottom: 10px;\">B\u1eadt <strong>Authentication<\/strong>, nh\u1eadp SMTP Username l\u00e0 \u0111\u1ecba ch\u1ec9 Gmail, SMTP Password l\u00e0 M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng 16 k\u00fd t\u1ef1.<\/li>\n<li style=\"margin-bottom: 10px;\">\u0110\u1eb7t <strong>From Email<\/strong> tr\u00f9ng \u0111\u00fang \u0111\u1ecba ch\u1ec9 Gmail \u0111\u00e3 d\u00f9ng, \u0111\u1eb7t From Name l\u00e0 t\u00ean th\u01b0\u01a1ng hi\u1ec7u.<\/li>\n<li style=\"margin-bottom: 10px;\">L\u01b0u, sang tab <strong>Email Test<\/strong> g\u1eedi th\u1eed v\u1ec1 m\u1ed9t \u0111\u1ecba ch\u1ec9 kh\u00e1c \u0111\u1ec3 x\u00e1c nh\u1eadn.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">Sai l\u1ea7m hay g\u1eb7p khi c\u1ea5u h\u00ecnh WordPress SMTP: \u0111\u1eb7t From Email kh\u00e1c v\u1edbi t\u00e0i kho\u1ea3n Gmail \u0111\u0103ng nh\u1eadp. Gmail s\u1ebd ghi \u0111\u00e8 ho\u1eb7c t\u1eeb ch\u1ed1i, khi\u1ebfn mail kh\u00f4ng \u0111i. Lu\u00f4n \u0111\u1ec3 From Email kh\u1edbp username, tr\u1eeb khi b\u1ea1n \u0111\u00e3 th\u00eam v\u00e0 x\u00e1c minh \u0111\u1ecba ch\u1ec9 &#8220;Send mail as&#8221; trong Gmail.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-42417\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/Plugin-WP-Mail-SMTP.png\" alt=\"Plugin WP Mail SMTP\" width=\"700\" height=\"328\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/Plugin-WP-Mail-SMTP.png 700w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/06\/Plugin-WP-Mail-SMTP-300x141.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h2 id=\"section5\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">G\u1eedi mail b\u1eb1ng code PHP v\u00e0 Node.js qua SMTP Gmail<\/h2>\n<p style=\"text-align: justify;\">Khi b\u1ea1n t\u1ef1 code ch\u1ee9c n\u0103ng g\u1eedi OTP ho\u1eb7c qu\u00ean m\u1eadt kh\u1ea9u, \u0111\u1eebng d\u00f9ng h\u00e0m <code>mail()<\/code> thu\u1ea7n. H\u00e3y d\u00f9ng th\u01b0 vi\u1ec7n SMTP chu\u1ea9n: PHPMailer cho PHP, Nodemailer cho Node.js. Hai v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y g\u1eedi mail code php v\u00e0 Node tr\u1ef1c ti\u1ebfp qua SMTP Gmail.<\/p>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">G\u1eedi mail b\u1eb1ng PHP v\u1edbi PHPMailer<\/h3>\n<pre>&lt;?php\r\nuse PHPMailer\\PHPMailer\\PHPMailer;\r\nuse PHPMailer\\PHPMailer\\Exception;\r\n\r\nrequire 'vendor\/autoload.php'; \/\/ c\u00e0i qua: composer require phpmailer\/phpmailer\r\n\r\n$mail = new PHPMailer(true);\r\ntry {\r\n    $mail-&gt;isSMTP();\r\n    $mail-&gt;Host       = 'SMTP.Gmail.com';\r\n    $mail-&gt;SMTPAuth   = true;\r\n    $mail-&gt;Username   = 'ban@Gmail.com';\r\n    $mail-&gt;Password   = 'abcdabcdabcdabcd'; \/\/ Mat khau ung dung 16 ky tu\r\n    $mail-&gt;SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; \/\/ SSL\r\n    $mail-&gt;Port       = 465;\r\n\r\n    $mail-&gt;setFrom('ban@Gmail.com', 'Ten Website');\r\n    $mail-&gt;addAddress('khach@example.com');\r\n    $mail-&gt;isHTML(true);\r\n    $mail-&gt;Subject = 'Ma OTP cua ban';\r\n    $mail-&gt;Body    = 'Ma xac thuc: &lt;b&gt;123456&lt;\/b&gt;';\r\n\r\n    $mail-&gt;send();\r\n    echo 'Gui thanh cong';\r\n} catch (Exception $e) {\r\n    echo \"Loi gui mail: {$mail-&gt;ErrorInfo}\";\r\n}\r\n<\/pre>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">G\u1eedi mail b\u1eb1ng Node.js v\u1edbi Nodemailer<\/h3>\n<pre>\/\/ cai dat: npm install nodemailer\r\nconst nodemailer = require('nodemailer');\r\n\r\nconst transporter = nodemailer.createTransport({\r\n  host: 'SMTP.Gmail.com',\r\n  port: 465,\r\n  secure: true, \/\/ true cho port 465, false cho 587\r\n  auth: {\r\n    user: 'ban@Gmail.com',\r\n    pass: 'abcdabcdabcdabcd' \/\/ Mat khau ung dung 16 ky tu\r\n  }\r\n});\r\n\r\nasync function guiMail() {\r\n  const info = await transporter.sendMail({\r\n    from: '\"Ten Website\" &lt;ban@Gmail.com&gt;',\r\n    to: 'khach@example.com',\r\n    subject: 'Ma OTP cua ban',\r\n    html: 'Ma xac thuc: &lt;b&gt;123456&lt;\/b&gt;'\r\n  });\r\n  console.log('Da gui:', info.messageId);\r\n}\r\n\r\nguiMail().catch(console.error);\r\n<\/pre>\n<p style=\"text-align: justify;\">Nguy\u00ean t\u1eafc b\u1ea3o m\u1eadt quan tr\u1ecdng: \u0111\u1eebng hardcode M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng v\u00e0o source code \u0111\u1ea9y l\u00ean Git. H\u00e3y \u0111\u01b0a v\u00e0o bi\u1ebfn m\u00f4i tr\u01b0\u1eddng (<code>.env<\/code>) v\u00e0 \u0111\u1ecdc qua <code>getenv()<\/code> ho\u1eb7c <code>process.env<\/code>. L\u1ed9 chu\u1ed7i n\u00e0y t\u01b0\u01a1ng \u0111\u01b0\u01a1ng trao quy\u1ec1n g\u1eedi mail d\u01b0\u1edbi danh ngh\u0129a b\u1ea1n.<\/p>\n<div style=\"display: flex; flex-wrap: wrap; background-color: #fff; border: 1.5px solid #BFDBFE; box-shadow: 0 8px 20px rgba(37,99,235,0.08); border-radius: 12px; overflow: hidden; margin: 35px 0;\">\n<div style=\"flex: 1; min-width: 250px; background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); display: flex; align-items: center; justify-content: center; padding: 30px; text-align: center;\">\n<div>\n<p style=\"color: white; font-size: 34px; font-family: 'Be Vietnam Pro', sans-serif; font-weight: bold; margin: 0; line-height: 1.1;\">Thu\u00ea VPS<\/p>\n<p style=\"color: #dbeafe; font-size: 15px; font-weight: 600; margin-top: 12px;\">CPU th\u1ebf h\u1ec7 m\u1edbi \u00b7 Ch\u1ed1ng DDoS \u00b7 Backup \u0111\u1ecbnh k\u1ef3<\/p>\n<\/div>\n<\/div>\n<div style=\"flex: 2; padding: 25px; min-width: 300px;\">\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 0; font-size: 20px;\">Tri\u1ec3n khai app g\u1eedi OTP\/email giao d\u1ecbch \u1ed5n \u0111\u1ecbnh h\u01a1n<\/h3>\n<p style=\"text-align: justify; font-size: 15px; margin-bottom: 15px;\">Code g\u1eedi mail b\u1eb1ng PHP hay Node.js c\u1ea7n m\u00f4i tr\u01b0\u1eddng cho ph\u00e9p c\u00e0i Composer, npm, ch\u1ea1y queue v\u00e0 cron job n\u1ec1n. Tr\u00ean VPS c\u00f3 root, b\u1ea1n ch\u1ee7 \u0111\u1ed9ng c\u00e0i \u0111\u1eb7t th\u01b0 vi\u1ec7n, m\u1edf port SMTP outbound v\u00e0 theo d\u00f5i log g\u1eedi mail, \u0111i\u1ec1u m\u00e0 hosting d\u00f9ng chung th\u01b0\u1eddng gi\u1edbi h\u1ea1n.<\/p>\n<p><a style=\"background: linear-gradient(90deg, #2563EB 0%, #1E3A8A 100%); color: white; padding: 12px 25px; text-decoration: none; font-weight: 600; border-radius: 8px; font-size: 15px; display: inline-block; box-shadow: 0 5px 15px rgba(37,99,235,0.3);\" href=\"https:\/\/interdata.vn\/thue-vps\/\" target=\"_blank\" rel=\"noopener\">B\u1eaft \u0111\u1ea7u v\u1edbi VPS \u27f6<\/a><\/p>\n<\/div>\n<\/div>\n<h2 id=\"section6\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">Kh\u1eafc ph\u1ee5c l\u1ed7i g\u1eedi mail v\u00e0 mail v\u00e0o Spam<\/h2>\n<p style=\"text-align: justify;\">Ph\u1ea7n l\u1edbn l\u1ed7i SMTP Gmail r\u01a1i v\u00e0o v\u00e0i nh\u00f3m quen thu\u1ed9c. \u0110\u1ecdc \u0111\u00fang th\u00f4ng b\u00e1o l\u1ed7i l\u00e0 \u0111\u00e3 gi\u1ea3i quy\u1ebft \u0111\u01b0\u1ee3c n\u1eeda v\u1ea5n \u0111\u1ec1. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e1c tri\u1ec7u ch\u1ee9ng th\u01b0\u1eddng g\u1eb7p v\u00e0 c\u00e1ch x\u1eed l\u00fd l\u1ed7i g\u1eedi mail wp l\u1eabn khi code th\u1ee7 c\u00f4ng.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 15px;\">\n<thead>\n<tr style=\"background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); color: #ffffff;\">\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">Tri\u1ec7u ch\u1ee9ng<\/th>\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">Nguy\u00ean nh\u00e2n th\u01b0\u1eddng g\u1eb7p<\/th>\n<th style=\"padding: 12px; text-align: left; border: 1px solid #BFDBFE;\">C\u00e1ch x\u1eed l\u00fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">535 Username and Password not accepted<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">D\u00f9ng m\u1eadt kh\u1ea9u Gmail th\u01b0\u1eddng, ho\u1eb7c ch\u01b0a b\u1eadt 2 l\u1edbp<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">B\u1eadt b\u1ea3o m\u1eadt 2 l\u1edbp, t\u1ea1o l\u1ea1i M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng, d\u00e1n \u0111\u00fang 16 k\u00fd t\u1ef1<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Connection timed out \/ refused<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Hosting ch\u1eb7n port 465\/587 outbound<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">\u0110\u1ed5i gi\u1eefa 465 v\u00e0 587; n\u1ebfu v\u1eabn ch\u1eb7n, li\u00ean h\u1ec7 nh\u00e0 cung c\u1ea5p m\u1edf port<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Could not authenticate \/ SSL error<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Gh\u00e9p sai port v\u1edbi ki\u1ec3u m\u00e3 h\u00f3a<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">465 \u0111i v\u1edbi SSL, 587 \u0111i v\u1edbi STARTTLS; kh\u00f4ng gh\u00e9p ch\u00e9o<\/td>\n<\/tr>\n<tr style=\"background-color: #f8fafc;\">\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Mail g\u1eedi \u0111\u01b0\u1ee3c nh\u01b0ng v\u00e0o Spam<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Thi\u1ebfu SPF\/DKIM, From Email kh\u00f4ng kh\u1edbp<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">\u0110\u1ec3 From tr\u00f9ng t\u00e0i kho\u1ea3n, c\u1ea5u h\u00ecnh SPF\/DKIM n\u1ebfu d\u00f9ng domain ri\u00eang<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Daily sending quota exceeded<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">V\u01b0\u1ee3t 500 (Gmail) ho\u1eb7c 2.000 (Workspace) mail\/ng\u00e0y<\/td>\n<td style=\"padding: 12px; border: 1px solid #BFDBFE;\">Gi\u00e3n t\u1ea7n su\u1ea5t, ho\u1eb7c chuy\u1ec3n sang d\u1ecbch v\u1ee5 email g\u1eedi chuy\u00ean d\u1ee5ng<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">Checklist ch\u1ed1ng mail v\u00e0o Spam<\/h3>\n<ul style=\"list-style-type: disc; padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\"><strong>From Email kh\u1edbp t\u00e0i kho\u1ea3n g\u1eedi:<\/strong> tr\u00e1nh vi\u1ec7c Gmail nghi gi\u1ea3 m\u1ea1o.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Ti\u00eau \u0111\u1ec1 v\u00e0 n\u1ed9i dung t\u1ef1 nhi\u00ean:<\/strong> kh\u00f4ng vi\u1ebft hoa to\u00e0n b\u1ed9, h\u1ea1n ch\u1ebf t\u1eeb k\u00edch spam nh\u01b0 &#8220;mi\u1ec5n ph\u00ed 100%&#8221;, &#8220;tr\u00fang th\u01b0\u1edfng&#8221;.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>C\u00f3 b\u1ea3n text k\u00e8m HTML:<\/strong> email ch\u1ec9 c\u00f3 HTML d\u1ec5 b\u1ecb \u0111\u00e1nh \u0111i\u1ec3m spam cao h\u01a1n.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>D\u00f9ng domain ri\u00eang th\u00ec c\u1ea5u h\u00ecnh SPF v\u00e0 DKIM:<\/strong> \u0111\u00e2y l\u00e0 y\u1ebfu t\u1ed1 x\u00e1c th\u1ef1c ng\u01b0\u1eddi g\u1eedi quan tr\u1ecdng nh\u1ea5t.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>G\u1eedi \u0111\u1ec1u, kh\u00f4ng g\u1eedi d\u1ed3n:<\/strong> b\u1eafn h\u00e0ng lo\u1ea1t trong th\u1eddi gian ng\u1eafn d\u1ec5 b\u1ecb gi\u1edbi h\u1ea1n.<\/li>\n<\/ul>\n<h2 id=\"section7\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">Gi\u1edbi h\u1ea1n c\u1ee7a SMTP Gmail v\u00e0 khi n\u00e0o c\u1ea7n mail server ri\u00eang<\/h2>\n<p style=\"text-align: justify;\">SMTP Gmail r\u1ea5t t\u1ed1t cho nhu c\u1ea7u nh\u1ecf, nh\u01b0ng n\u00f3 kh\u00f4ng \u0111\u01b0\u1ee3c Google thi\u1ebft k\u1ebf \u0111\u1ec3 g\u1eedi email h\u00e0ng lo\u1ea1t. Khi website l\u1edbn l\u00ean, b\u1ea1n s\u1ebd ch\u1ea1m tr\u1ea7n nhanh h\u01a1n t\u01b0\u1edfng t\u01b0\u1ee3ng. Hi\u1ec3u r\u00f5 gi\u1edbi h\u1ea1n gi\u00fap b\u1ea1n ch\u1ecdn \u0111\u00fang h\u01b0\u1edbng \u0111i ti\u1ebfp theo.<\/p>\n<ul style=\"list-style-type: disc; padding-left: 20px; margin-bottom: 25px; color: #1f2937;\">\n<li style=\"margin-bottom: 10px;\"><strong>H\u1ea1n m\u1ee9c c\u1ee9ng:<\/strong> kho\u1ea3ng 500 mail\/ng\u00e0y v\u1edbi Gmail c\u00e1 nh\u00e2n, 2.000 v\u1edbi Workspace. V\u01b0\u1ee3t l\u00e0 b\u1ecb t\u1ea1m kh\u00f3a g\u1eedi.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Kh\u00f4ng qu\u1ea3n l\u00fd \u0111\u01b0\u1ee3c IP g\u1eedi:<\/strong> b\u1ea1n d\u00f9ng chung uy t\u00edn IP c\u1ee7a Google, kh\u00f4ng t\u1ef1 c\u1ea3i thi\u1ec7n \u0111\u01b0\u1ee3c khi c\u1ea7n g\u1eedi marketing l\u01b0\u1ee3ng l\u1edbn.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Kh\u00f3 theo d\u00f5i s\u00e2u:<\/strong> kh\u00f4ng c\u00f3 dashboard tracking m\u1edf\/click chuy\u00ean nghi\u1ec7p nh\u01b0 d\u1ecbch v\u1ee5 email transactional.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Khi nhu c\u1ea7u v\u01b0\u1ee3t ng\u01b0\u1ee1ng n\u00e0y, b\u1ea1n c\u00f3 hai h\u01b0\u1edbng. M\u1ed9t l\u00e0 d\u00f9ng d\u1ecbch v\u1ee5 email transactional chuy\u00ean d\u1ee5ng v\u00e0 tr\u1ecf SMTP c\u1ee7a h\u1ecd thay cho Gmail. Hai l\u00e0 t\u1ef1 d\u1ef1ng mail server ri\u00eang tr\u00ean VPS ho\u1eb7c Cloud Server \u0111\u1ec3 to\u00e0n quy\u1ec1n ki\u1ec3m so\u00e1t IP, h\u00e0ng \u0111\u1ee3i, SPF\/DKIM\/DMARC v\u00e0 l\u01b0u l\u01b0\u1ee3ng g\u1eedi.<\/p>\n<p style=\"text-align: justify;\">T\u1ef1 d\u1ef1ng mail server kh\u00f4ng \u0111\u01a1n gi\u1ea3n: c\u1ea7n IP s\u1ea1ch, c\u1ea5u h\u00ecnh PTR (reverse DNS), SPF, DKIM, DMARC \u0111\u1ea7y \u0111\u1ee7 v\u00e0 theo d\u00f5i blacklist li\u00ean t\u1ee5c. Nh\u01b0ng khi h\u1ec7 th\u1ed1ng c\u1ea7n g\u1eedi v\u01b0\u1ee3t gi\u1edbi h\u1ea1n Gmail v\u00e0 mu\u1ed1n l\u00e0m ch\u1ee7 \u0111\u1ed9 tin c\u1eady, \u0111\u00e2y l\u00e0 h\u01b0\u1edbng \u0111\u00e1ng c\u00e2n nh\u1eafc. L\u00fac n\u00e0y t\u00e0i nguy\u00ean \u1ed5n \u0111\u1ecbnh v\u00e0 kh\u1ea3 n\u0103ng m\u1edf r\u1ed9ng theo l\u01b0u l\u01b0\u1ee3ng tr\u1edf th\u00e0nh y\u1ebfu t\u1ed1 quy\u1ebft \u0111\u1ecbnh.<\/p>\n<div style=\"display: flex; flex-wrap: wrap; background-color: #fff; border: 1.5px solid #BFDBFE; box-shadow: 0 8px 20px rgba(37,99,235,0.08); border-radius: 12px; overflow: hidden; margin: 35px 0;\">\n<div style=\"flex: 1; min-width: 250px; background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); display: flex; align-items: center; justify-content: center; padding: 30px; text-align: center;\">\n<div>\n<p style=\"color: white; font-size: 34px; font-family: 'Be Vietnam Pro', sans-serif; font-weight: bold; margin: 0; line-height: 1.1;\">Cloud Server<\/p>\n<p style=\"color: #dbeafe; font-size: 15px; font-weight: 600; margin-top: 12px;\">N\u00e2ng\/h\u1ea1 t\u00e0i nguy\u00ean theo nhu c\u1ea7u \u00b7 M\u1ea1ng t\u1ed1c \u0111\u1ed9 cao \u00b7 H\u1ed7 tr\u1ee3 24\/7<\/p>\n<\/div>\n<\/div>\n<div style=\"flex: 2; padding: 25px; min-width: 300px;\">\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 0; font-size: 20px;\">Khi l\u01b0\u1ee3ng mail v\u00e0 traffic v\u01b0\u1ee3t gi\u1edbi h\u1ea1n Gmail<\/h3>\n<p style=\"text-align: justify; font-size: 15px; margin-bottom: 15px;\">N\u1ebfu h\u1ec7 th\u1ed1ng c\u1ea7n g\u1eedi l\u01b0\u1ee3ng email l\u1edbn, l\u01b0u l\u01b0\u1ee3ng bi\u1ebfn \u0111\u1ed9ng theo chi\u1ebfn d\u1ecbch ho\u1eb7c m\u00f9a cao \u0111i\u1ec3m, Cloud Server cho ph\u00e9p t\u0103ng gi\u1ea3m t\u00e0i nguy\u00ean linh ho\u1ea1t theo t\u1ea3i th\u1ef1c t\u1ebf, ph\u00f9 h\u1ee3p khi b\u1ea1n t\u1ef1 v\u1eadn h\u00e0nh mail server v\u00e0 c\u00e1c \u1ee9ng d\u1ee5ng nhi\u1ec1u ng\u01b0\u1eddi d\u00f9ng.<\/p>\n<p><a style=\"background: linear-gradient(90deg, #2563EB 0%, #1E3A8A 100%); color: white; padding: 12px 25px; text-decoration: none; font-weight: 600; border-radius: 8px; font-size: 15px; display: inline-block; box-shadow: 0 5px 15px rgba(37,99,235,0.3);\" href=\"https:\/\/interdata.vn\/cloud-server\/\" target=\"_blank\" rel=\"noopener\">T\u00ecm hi\u1ec3u Cloud Server \u27f6<\/a><\/p>\n<\/div>\n<\/div>\n<h2 id=\"faq\" style=\"color: #1e3a8a; font-size: 24px; font-weight: bold; text-align: left; border-left: 5px solid #2563EB; padding-left: 15px; margin-top: 40px; margin-bottom: 20px; line-height: 1.4;\">C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p (FAQ)<\/h2>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">SMTP Gmail c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?<\/h3>\n<p style=\"text-align: justify;\">C\u00f3, d\u00f9ng t\u00e0i kho\u1ea3n Gmail c\u00e1 nh\u00e2n \u0111\u1ec3 g\u1eedi qua SMTP l\u00e0 mi\u1ec5n ph\u00ed, trong h\u1ea1n m\u1ee9c kho\u1ea3ng 500 email m\u1ed7i ng\u00e0y. Google Workspace l\u00e0 g\u00f3i tr\u1ea3 ph\u00ed v\u1edbi h\u1ea1n m\u1ee9c cao h\u01a1n, kho\u1ea3ng 2.000 email\/ng\u00e0y. V\u01b0\u1ee3t ng\u01b0\u1ee1ng, t\u00e0i kho\u1ea3n s\u1ebd b\u1ecb t\u1ea1m kh\u00f3a g\u1eedi trong kho\u1ea3ng 24 gi\u1edd.<\/p>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">V\u00ec sao kh\u00f4ng d\u00f9ng \u0111\u01b0\u1ee3c m\u1eadt kh\u1ea9u Gmail th\u01b0\u1eddng \u0111\u1ec3 c\u1ea5u h\u00ecnh SMTP?<\/h3>\n<p style=\"text-align: justify;\">V\u00ec Google \u0111\u00e3 ng\u1eebng t\u00ednh n\u0103ng &#8220;Less secure app access&#8221; t\u1eeb 2022. Hi\u1ec7n t\u1ea1i b\u1ea1n ph\u1ea3i b\u1eadt b\u1ea3o m\u1eadt 2 l\u1edbp r\u1ed3i t\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng 16 k\u00fd t\u1ef1, ho\u1eb7c d\u00f9ng OAuth 2.0. Nh\u1eadp m\u1eadt kh\u1ea9u \u0111\u0103ng nh\u1eadp th\u01b0\u1eddng s\u1ebd tr\u1ea3 v\u1ec1 l\u1ed7i 535 x\u00e1c th\u1ef1c th\u1ea5t b\u1ea1i.<\/p>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">Kh\u00f4ng th\u1ea5y m\u1ee5c t\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng th\u00ec sao?<\/h3>\n<p style=\"text-align: justify;\">Nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn nh\u1ea5t l\u00e0 ch\u01b0a b\u1eadt X\u00e1c minh 2 b\u01b0\u1edbc; h\u00e3y b\u1eadt tr\u01b0\u1edbc trong ph\u1ea7n B\u1ea3o m\u1eadt. N\u1ebfu l\u00e0 t\u00e0i kho\u1ea3n Google Workspace, qu\u1ea3n tr\u1ecb vi\u00ean c\u00f3 th\u1ec3 \u0111\u00e3 ch\u1eb7n App Password theo ch\u00ednh s\u00e1ch c\u00f4ng ty. Khi \u0111\u00f3 b\u1ea1n c\u1ea7n chuy\u1ec3n sang x\u00e1c th\u1ef1c b\u1eb1ng OAuth 2.0.<\/p>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">N\u00ean d\u00f9ng port 465 hay 587 cho WordPress?<\/h3>\n<p style=\"text-align: justify;\">V\u1edbi WP Mail SMTP, port 465 k\u00e8m SSL th\u01b0\u1eddng ho\u1ea1t \u0111\u1ed9ng ngay v\u00e0 \u00edt l\u1ed7i nh\u1ea5t tr\u00ean hosting t\u1ea1i Vi\u1ec7t Nam. N\u1ebfu nh\u00e0 cung c\u1ea5p ch\u1eb7n 465 ho\u1eb7c b\u1ea1n g\u1eb7p l\u1ed7i k\u1ebft n\u1ed1i, h\u00e3y chuy\u1ec3n sang 587 v\u1edbi STARTTLS. Tr\u00e1nh d\u00f9ng port 25 v\u00ec g\u1ea7n nh\u01b0 lu\u00f4n b\u1ecb ch\u1eb7n.<\/p>\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; margin-top: 25px; font-size: 20px;\">G\u1eedi mail qua SMTP Gmail c\u00f3 b\u1ecb v\u00e0o Spam kh\u00f4ng?<\/h3>\n<p style=\"text-align: justify;\">V\u1edbi l\u01b0\u1ee3ng nh\u1ecf v\u00e0 From Email kh\u1edbp t\u00e0i kho\u1ea3n g\u1eedi, t\u1ef7 l\u1ec7 v\u00e0o Inbox kh\u00e1 t\u1ed1t. \u0110\u1ec3 gi\u1ea3m r\u1ee7i ro Spam, h\u00e3y g\u1eedi n\u1ed9i dung t\u1ef1 nhi\u00ean, k\u00e8m b\u1ea3n text, v\u00e0 n\u1ebfu d\u00f9ng domain ri\u00eang th\u00ec c\u1ea5u h\u00ecnh SPF c\u00f9ng DKIM \u0111\u1ea7y \u0111\u1ee7 \u0111\u1ec3 ch\u1ee9ng minh danh t\u00ednh ng\u01b0\u1eddi g\u1eedi.<\/p>\n<div style=\"border-top: 2px dashed #BFDBFE; margin-top: 50px; padding-top: 30px;\">\n<h3 style=\"font-family: 'Be Vietnam Pro', sans-serif; color: #1e3a8a; font-size: 22px; font-weight: bold; margin-bottom: 15px;\">Ch\u1ed1t l\u1ea1i: c\u1ea5u h\u00ecnh \u0111\u00fang m\u1ed9t l\u1ea7n, g\u1eedi mail \u1ed5n v\u1ec1 sau<\/h3>\n<p style=\"text-align: justify;\">\u0110\u1ec3 c\u1ea5u h\u00ecnh SMTP Gmail ch\u1ea1y m\u01b0\u1ee3t, b\u1ea1n ch\u1ec9 c\u1ea7n nh\u1edb ba \u0111i\u1ec1u c\u1ed1t l\u00f5i. Th\u1ee9 nh\u1ea5t, b\u1eaft bu\u1ed9c b\u1eadt b\u1ea3o m\u1eadt 2 l\u1edbp r\u1ed3i t\u1ea1o M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng, kh\u00f4ng d\u00f9ng m\u1eadt kh\u1ea9u th\u01b0\u1eddng. Th\u1ee9 hai, gh\u00e9p \u0111\u00fang port v\u1edbi m\u00e3 h\u00f3a: 465 \u0111i SSL, 587 \u0111i STARTTLS. Th\u1ee9 ba, \u0111\u1ec3 From Email kh\u1edbp t\u00e0i kho\u1ea3n v\u00e0 c\u1ea5u h\u00ecnh SPF\/DKIM khi d\u00f9ng domain ri\u00eang \u0111\u1ec3 tr\u00e1nh Spam. Khi l\u01b0\u1ee3ng mail v\u01b0\u1ee3t gi\u1edbi h\u1ea1n Gmail, \u0111\u00f3 l\u00e0 l\u00fac t\u00ednh t\u1edbi mail server ri\u00eang tr\u00ean h\u1ea1 t\u1ea7ng b\u1ea1n t\u1ef1 ki\u1ec3m so\u00e1t.<\/p>\n<div style=\"background: #EFF6FF; border: 1px solid #2563EB; padding: 30px; margin-top: 25px; border-radius: 12px; text-align: center;\">\n<p style=\"font-family: 'Be Vietnam Pro', sans-serif; font-size: 20px; font-weight: bold; color: #1e3a8a; margin-top: 0;\">C\u1ea7n m\u1ed9t m\u00f4i tr\u01b0\u1eddng \u0111\u1ec3 t\u1ef1 ch\u1ee7 c\u1ea5u h\u00ecnh g\u1eedi mail?<\/p>\n<p style=\"font-size: 15px; margin-bottom: 20px; color: #4b5563;\">B\u1eaft \u0111\u1ea7u v\u1edbi m\u1ed9t VPS c\u00f3 to\u00e0n quy\u1ec1n root \u0111\u1ec3 c\u00e0i \u0111\u1eb7t v\u00e0 ki\u1ec3m so\u00e1t \u0111\u00fang theo nhu c\u1ea7u c\u1ee7a b\u1ea1n.<\/p>\n<p><a style=\"background: #2563EB; color: #ffffff; padding: 12px 30px; text-decoration: none; font-weight: 600; border-radius: 6px; display: inline-block;\" href=\"https:\/\/interdata.vn\/thue-vps\/\" target=\"_blank\" rel=\"noopener\">Thu\u00ea VPS t\u1ea1i InterData \u27f6<\/a><\/p>\n<\/div>\n<\/div>\n<p style=\"text-align: justify; font-size: 13px; font-style: italic; color: #6b7280; margin-top: 30px; border-top: 1px solid #E5E7EB; padding-top: 15px;\"><span style=\"font-size: 100%;\"><em>L\u01b0u \u00fd: n\u1ed9i dung k\u1ef9 thu\u1eadt trong b\u00e0i ch\u1ec9 mang t\u00ednh tham kh\u1ea3o. C\u00e1c b\u01b0\u1edbc, l\u1ec7nh v\u00e0 th\u00f4ng s\u1ed1 c\u1ea5u h\u00ecnh c\u00f3 th\u1ec3 thay \u0111\u1ed5i theo h\u1ec7 \u0111i\u1ec1u h\u00e0nh, phi\u00ean b\u1ea3n ph\u1ea7n m\u1ec1m, ch\u00ednh s\u00e1ch c\u1ee7a Google v\u00e0 m\u00f4i tr\u01b0\u1eddng th\u1ef1c t\u1ebf c\u1ee7a b\u1ea1n. H\u00e3y sao l\u01b0u d\u1eef li\u1ec7u, ki\u1ec3m th\u1eed tr\u00ean m\u00f4i tr\u01b0\u1eddng staging v\u00e0 \u0111\u00e1nh gi\u00e1 r\u1ee7i ro tr\u01b0\u1edbc khi \u00e1p d\u1ee5ng cho h\u1ec7 th\u1ed1ng production.<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SMTP Gmail l\u00e0 c\u00e1ch nhanh v\u00e0 r\u1ebb nh\u1ea5t \u0111\u1ec3 website c\u1ee7a b\u1ea1n g\u1eedi \u0111\u01b0\u1ee3c mail th\u1eadt: form li\u00ean h\u1ec7, OTP, email qu\u00ean m\u1eadt kh\u1ea9u, \u0111\u01a1n h\u00e0ng. N\u1ebfu kh\u00e1ch \u0111i\u1ec1n form m\u00e0 b\u1ea1n kh\u00f4ng nh\u1eadn \u0111\u01b0\u1ee3c g\u00ec, ho\u1eb7c mail lu\u00f4n r\u01a1i v\u00e0o Spam, g\u1ea7n nh\u01b0 ch\u1eafc ch\u1eafn c\u1ea5u h\u00ecnh g\u1eedi mail \u0111ang sai. B\u00e0i n\u00e0y h\u01b0\u1edbng<\/p>\n","protected":false},"author":2,"featured_media":42415,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-42413","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/42413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/comments?post=42413"}],"version-history":[{"count":5,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/42413\/revisions"}],"predecessor-version":[{"id":42421,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/42413\/revisions\/42421"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media\/42415"}],"wp:attachment":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media?parent=42413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/categories?post=42413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/tags?post=42413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}