(window.webpackJsonp=window.webpackJsonp||[]).push([[172],{228:function(n,t,e){"use strict";e.r(t),e.d(t,"frontMatter",(function(){return h})),e.d(t,"metadata",(function(){return l})),e.d(t,"rightToc",(function(){return o})),e.d(t,"default",(function(){return b}));var c=e(2),a=e(6),i=(e(0),e(456)),h={id:"block-gui-email",title:"G\u1eedi Email t\u1eeb Chatbot AhaChat",sidebar_label:"Block G\u1eedi Email"},l={unversionedId:"block-gui-email",id:"block-gui-email",isDocsHomePage:!1,title:"G\u1eedi Email t\u1eeb Chatbot AhaChat",description:"Sau khi kh\xe1ch \u0111\u1eb7t h\xe0ng, ch\u1ee7 bot mu\u1ed1n g\u1eedi th\xf4ng b\xe1o h\xf3a \u0111\u01a1n b\u1eb1ng email \u0111\u1ebfn ch\xednh m\xecnh v\xe0 kh\xe1ch h\xe0ng c\u1ee7a m\xecnh th\xec c\xf3 th\u1ec3 d\xf9ng t\xednh n\u0103ng n\xe0y c\u1ee7a AhaChat. Trong b\xe0i vi\u1ebft n\xe0y ch\xfang t\xf4i s\u1ebd h\u01b0\u1edbng d\u1eabn d\xf9ng gmail, m\u1ed9t d\u1ecbch v\u1ee5 g\u1eedi mail mi\u1ec5n ph\xed l\xean \u0111\u1ebfn 100 email m\u1ed9t ng\xe0y.",source:"@site/docs/block-gui-email.md",slug:"/block-gui-email",permalink:"/help/docs/block-gui-email",version:"current",sidebar_label:"Block G\u1eedi Email",sidebar:"docs",previous:{title:"T\u1ea1o Tin Nh\u1eafn \u0110\xe1nh Gi\xe1",permalink:"/help/docs/block-user-feedback"},next:{title:"G\u1eedi tr\u1ef1c ti\u1ebfp ZNS t\u1eeb ZCA",permalink:"/help/docs/block-gui-zns"}},o=[{value:"1. C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n Gmail",id:"1-c\xe0i-\u0111\u1eb7t-t\xe0i-kho\u1ea3n-gmail",children:[]},{value:"2. C\xe0i \u0111\u1eb7t Email trong AhaChat",id:"2-c\xe0i-\u0111\u1eb7t-email-trong-ahachat",children:[]},{value:"3. T\u1ea1o k\u1ecbch b\u1ea3n g\u1eedi Email",id:"3-t\u1ea1o-k\u1ecbch-b\u1ea3n-g\u1eedi-email",children:[]}],r={rightToc:o};function b(n){var t=n.components,e=Object(a.a)(n,["components"]);return Object(i.b)("wrapper",Object(c.a)({},r,e,{components:t,mdxType:"MDXLayout"}),Object(i.b)("p",null,"Sau khi kh\xe1ch \u0111\u1eb7t h\xe0ng, ch\u1ee7 bot mu\u1ed1n g\u1eedi th\xf4ng b\xe1o h\xf3a \u0111\u01a1n b\u1eb1ng email \u0111\u1ebfn ch\xednh m\xecnh v\xe0 kh\xe1ch h\xe0ng c\u1ee7a m\xecnh th\xec c\xf3 th\u1ec3 d\xf9ng t\xednh n\u0103ng n\xe0y c\u1ee7a AhaChat. Trong b\xe0i vi\u1ebft n\xe0y ch\xfang t\xf4i s\u1ebd h\u01b0\u1edbng d\u1eabn d\xf9ng gmail, m\u1ed9t d\u1ecbch v\u1ee5 g\u1eedi mail mi\u1ec5n ph\xed l\xean \u0111\u1ebfn 100 email m\u1ed9t ng\xe0y."),Object(i.b)("p",null,"Ch\xfa \xfd: b\u1ea1n c\xf3 th\u1ec3 d\xf9ng b\u1ea5t c\u1ee9 d\u1ecbch v\u1ee5 email n\xe0o cung c\u1ea5p SMTP nh\xe9. V\xed d\u1ee5 mailgun, SES c\u1ee7a amazon, hay ch\xednh server mail c\u1ee7a b\u1ea1n."),Object(i.b)("h2",{id:"1-c\xe0i-\u0111\u1eb7t-t\xe0i-kho\u1ea3n-gmail"},"1. C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n Gmail"),Object(i.b)("p",null,Object(i.b)("strong",{parentName:"p"},"1.1 C\xe0i \u0111\u1eb7t B\u1ea3o m\u1eadt")," "),Object(i.b)("p",null,"Truy c\u1eadp link ",Object(i.b)("a",Object(c.a)({parentName:"p"},{href:"https://myaccount.google.com/security"}),"https://myaccount.google.com/security")," \u0111\u1ec3 \u0111\u1ebfn m\u1ee5c b\u1ea3o m\u1eadt."),Object(i.b)("p",null,"\u1ede \u0111\xe2y ch\xfang ta s\u1ebd th\u1ea5y 2 giao di\u1ec7n nh\u01b0 sau:"),Object(i.b)("p",null,"Giao di\u1ec7n kh\xf4ng th\u1ea5y m\u1ee5c t\u1ea1o m\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng ( Do ch\u01b0a b\u1eadt x\xe1c th\u1ef1c 2 b\u01b0\u1edbc)"),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh4.googleusercontent.com/2tQtNcQwYi9jp3m-rQPM_ChGVgIu-mgIZGqdJgSlRbT7L5PcXyyCd4P9rC2J6-2GPtBi8AFDK1wlPG6MjIAVBG5-fuO8noZZDyY_jdzxO-UIslsWhuTizPG2XXrPe09FarUA6EKz_SkaCmi2vg",alt:null}))),Object(i.b)("p",null,"\u0110\u1ec3 hi\u1ec3n th\u1ecb giao nhi\xean d\u01b0\u1edbi b\u1ea1n c\u1ea7n b\u1ea5m v\xe0o x\xe1c th\u1ef1c 2 b\u01b0\u1edbc v\xe0 ti\u1ebfn h\xe0nh x\xe1c th\u1ef1c."),Object(i.b)("p",null,"Giao di\u1ec7n M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng.( Do \u0111\xe3 b\u1eadt x\xe1c th\u1ef1c 2 b\u01b0\u1edbc)"),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/tVHa8pkJUpzyDPyTz0xjSEmt_k7aDeKuxf3pQMEHW8ulYdNZ2BLTrGv7tCJbtA6AwMVND6rG7XHZE4en1DaiF1XD_sTecg8nTufZLjyc5uGry16w4hkZt8HGVeUJewz4Gij98HOxQ7K9a-adPQ",alt:null}))),Object(i.b)("p",null,"Ch\u1ecdn M\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng \u0111\u1ec3 b\u1eaft \u0111\u1ea7u t\u1ea1o => Khi b\u1ea1n ch\u1ecdn h\u1ec7 th\u1ed1ng gmail s\u1ebd b\u1eaft b\u1ea1n \u0111\u0103ng nh\u1eadp l\u1ea1i \u0111\u1ec3 x\xe1c th\u1ef1c b\u1ea1n c\xf3 th\u1ef1c s\u1ef1 t\u1ea1o hay kh\xf4ng."),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/mlfwnxR9sxv4qbRBXbL8MPggN9TvEz_uWfH-GjWwFZZZluwu9QWQm6UwbjYkTouLdCX49i58Avsg_W91t4NmvTp08vMtyzh0iymFBGu-Z-2MexLUOEa7-4EQiOOtXNDepm_KXgP4KDNZ-zUxUQ",alt:null}))),Object(i.b)("p",null,Object(i.b)("strong",{parentName:"p"},"1.2 T\u1ea1o m\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng cho Gmail")),Object(i.b)("p",null,"Ch\xfang ta s\u1ebd th\u1ea5y 2 gi\xe1 tr\u1ecb:"),Object(i.b)("p",null,"Ch\u1ecdn \u1ee9ng d\u1ee5ng: T\xean \u1ee9ng d\u1ee5ng m\xe0 b\u1ea1n mu\u1ed1n d\xf9ng email gmail \u0111\u1ec3 thi\u1ebft l\u1eadp."),Object(i.b)("p",null,"Ch\u1ecdn Thi\u1ebft b\u1ecb: Thi\u1ebft b\u1ecb n\xe0o b\u1ea1n mu\u1ed1n g\u1eafn email n\xe0y v\xe0o."),Object(i.b)("p",null,"\u1ede \u0111\xe2y b\u1ea1n c\xf3 th\u1ec3 \u0111\u1eb7t ch\u1ecdn m\u1ee5c Kh\xe1c (T\xean t\xf9y ch\u1ec9nh). B\u1ea1n \u0111\u1eb7t 1 c\xe1i t\xean n\xe0o \u0111\xf3"),Object(i.b)("p",null,"Sau khi nh\u1ea5n T\u1ea1o th\xec m\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng s\u1ebd \u0111\u01b0\u1ee3c h\u1ec7 th\u1ed1ng random ra cho b\u1ea1n 1 c\xe1i m\u1eadt kh\u1ea9u. B\u1ea1n l\u01b0u l\u1ea1i m\u1eadt kh\u1ea9u n\xe0y \u0111\u1ec3 t\xedch h\u1ee3p."),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh6.googleusercontent.com/AZQVQTx4Den0vnhg6KKT7pJkwlErplauEGp7cAWsqIsPQA8SpaBszjFnWqc59pIDp76FnWkZYEmgSWVmllvGUO-y97ILB4uZ2erIAvl5c8PA_rLwZnUjxyc_eXlYEXSZbXtgtPa4047fWIw7Dw",alt:null}))),Object(i.b)("p",null,"Nh\u1ea5n Xong \u0111\u1ec3 k\u1ebft th\xfac qu\xe1 tr\xecnh t\u1ea1o m\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng cho Gmail."),Object(i.b)("h2",{id:"2-c\xe0i-\u0111\u1eb7t-email-trong-ahachat"},"2. C\xe0i \u0111\u1eb7t Email trong AhaChat"),Object(i.b)("p",null,"V\xe0o menu C\xe0i \u0111\u1eb7t > T\xedch h\u1ee3p, \u0111i\u1ec1n c\xe1c th\xf4ng s\u1ed1 v\xe0 b\u1ea5m L\u01b0u \u0111\u1ec3 ho\xe0n t\u1ea5t:",Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh3.googleusercontent.com/0O60VtKJqLlgDTfDwBGLV49DH7PoP2izoKe62LdfPY9SXPsqmQbutzRAKdgO-9hp4CQ4vYYKehG1_NP1mj1P9ORogqFaIi6u6nc5ZNKoYmeXvzQUMLOJ_Y4vaPHqCOTVtQsJzDfl",alt:null}))),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh6.googleusercontent.com/XfDWU8IgZyfoXcPb14jmVv550mNMc-qRZFCLXsAyCSBKcMGasRoKPlbbOveUFUfFJeMG5inf9XwcaHiAgfh7b-Io3yh1M5DfPT_5QbLphL2G_YcV9GgMHjJzV2r9zliHmT-Kx4Fu",alt:null}))),Object(i.b)("ol",null,Object(i.b)("li",{parentName:"ol"},"From Email \u2014 \u0111i\u1ec1n  email g\u1eedi th\xf4ng b\xe1o v\xe0 nh\u1eadn ph\u1ea3n h\u1ed3i t\u1eeb kh\xe1ch h\xe0ng."),Object(i.b)("li",{parentName:"ol"},"From Name \u2014 t\xean ng\u01b0\u1eddi g\u1eedi th\xf4ng b\xe1o, c\xf3 th\u1ec3 l\xe0 t\xean c\xf4ng ty hay t\xean b\u1ea1n."),Object(i.b)("li",{parentName:"ol"},"Host \u2014 n\u1ebfu d\xf9ng gmail \u0111i\u1ec1n smtp.gmail.com."),Object(i.b)("li",{parentName:"ol"},"SMTP Secure \u2014 M\u1eb7c \u0111\u1ecbnh SMTP Google l\xe0 465 cho SSL v\xe0 587 cho TSL."),Object(i.b)("li",{parentName:"ol"},"Port \u2014 N\u1ebfu d\xf9ng SSL th\xec ch\u1ecdn 465."),Object(i.b)("li",{parentName:"ol"},"SMTP Authentication \u2014 Ch\u1ecdn Yes v\xec authentication c\u1ea7n \u0111\u01b0\u1ee3c k\xedch ho\u1ea1t."),Object(i.b)("li",{parentName:"ol"},"Username \u2014 \u0111\u1ecba ch\u1ec9 Gmail c\u1ee7a b\u1ea1n."),Object(i.b)("li",{parentName:"ol"},"Password \u2014 m\u1eadt kh\u1ea9u \u1ee9ng d\u1ee5ng Gmail c\u1ee7a b\u1ea1n \u1edf b\u01b0\u1edbc 1.")),Object(i.b)("h2",{id:"3-t\u1ea1o-k\u1ecbch-b\u1ea3n-g\u1eedi-email"},"3. T\u1ea1o k\u1ecbch b\u1ea3n g\u1eedi Email"),Object(i.b)("p",null,"V\xe0o menu Tr\u1ea3 l\u1eddi t\u1ef1 \u0111\u1ed9ng > T\u1ea1o k\u1ecbch b\u1ea3n > Ch\u1ecdn block G\u1eedi Email trong AhaChat"),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh4.googleusercontent.com/CITmf5QPRs3XNriF_SpPhqVw87rIoMLXehebAaOTVZcdSevbn1Iwdvunl6DKeF1RcFPQ8NOBVbPd_PF8jkuEL2JIeWjBoBDIDDVIbSZ22WsQK1rWD4f2hclO0jmBV8f16zY3OhvF",alt:null}))),Object(i.b)("p",null,"\u0110i\u1ec1n c\xe1c th\xf4ng tin nh\u01b0 sau"),Object(i.b)("p",null,Object(i.b)("img",Object(c.a)({parentName:"p"},{src:"https://lh5.googleusercontent.com/bml69Clo2yBbWc5pYy2OAUfU7mJXmPUaE0bI4koCtuzS1TUYRQzABsixQhdF3dqgUPJsEKOBaOXlPyQOxEY4_BH7u1J8vTC3EjerSpq0iUUjLoT328uZixRuBf9l0mSsX3uyowIE",alt:null}))),Object(i.b)("ol",null,Object(i.b)("li",{parentName:"ol"},"Ti\xeau \u0111\u1ec1 \u2014 ti\xeau \u0111\u1ec1 email m\xe0 kh\xe1ch h\xe0ng s\u1ebd nh\u1eadn"),Object(i.b)("li",{parentName:"ol"},'G\u1eedi \u0111\u1ebfn \u2014 \u0111i\u1ec1n danh s\xe1ch email c\xe1c kh\xe1ch h\xe0ng s\u1ebd nh\u1eadn, c\xe1ch nhau b\u1eb1ng d\u1ea5u ",". Ch\xfa \xfd l\xe0 c\xe1c kh\xe1ch h\xe0ng s\u1ebd kh\xf4ng bi\u1ebft \u0111\u01b0\u1ee3c email n\xe0y g\u1eedi \u0111\u1ebfn nh\u1eefng kh\xe1ch h\xe0ng kh\xe1c.'),Object(i.b)("li",{parentName:"ol"},"N\u1ed9i dung \u2014 \u0110i\u1ec1n n\u1ed9i dung c\u1ea7n g\u1eedi \u0111\u1ebfn kh\xe1ch h\xe0ng, c\xf3 th\u1ec3 ch\xe8n thu\u1ed9c t\xednh, h\xecnh \u1ea3nh, video, \u0111\u01b0\u1eddng d\u1eabn v\xe0o n\u1ed9i dung \u0111\u1ec3 t\u0103ng t\xednh thu h\xfat.")),Object(i.b)("p",null,Object(i.b)("em",{parentName:"p"},"B\u1ea1n c\xf3 b\u1ea5t k\u1ef3 c\xe2u h\u1ecfi n\xe0o li\xean quan \u0111\u1ebfn t\xednh n\u0103ng G\u1eedi Email trong AhaChat? B\u1ea1n mu\u1ed1n kh\u1edfi ch\u1ea1y chi\u1ebfn d\u1ecbch ti\u1ebfp c\u1eadn kh\xe1ch h\xe0ng c\u1ee7a m\xecnh b\u1eb1ng Chatbot v\u1edbi m\u1ed9t s\u1ed1 l\u1eddi khuy\xean chuy\xean m\xf4n t\u1eeb \u0110\u1ed1i t\xe1c ti\u1ebfp th\u1ecb c\u1ee7a Facebook? \u0110\u1eebng ng\u1ea7n ng\u1ea1i ",Object(i.b)("a",Object(c.a)({parentName:"em"},{href:"https://m.me/182015432606460?ref=hotro"}),"li\xean h\u1ec7 v\u1edbi ch\xfang t\xf4i")," \u0111\u1ec3 c\xf3 c\xe2u tr\u1ea3 l\u1eddi nhanh nh\u1ea5t v\xe0 hi\u1ec7u qu\u1ea3 nh\u1ea5t! T\u1eadn h\u01b0\u1edfng c\xf4ng c\u1ee5 ",Object(i.b)("a",Object(c.a)({parentName:"em"},{href:"https://ahachat.com/"}),"chatbot mi\u1ec5n ph\xed")," c\u1ee7a ch\xfang t\xf4i m\xe0 kh\xf4ng c\u1ea7n ph\u1ea3i tr\u1ea3 b\u1ea5t k\u1ef3 chi ph\xed n\xe0o!")))}b.isMDXComponent=!0},456:function(n,t,e){"use strict";e.d(t,"a",(function(){return m})),e.d(t,"b",(function(){return p}));var c=e(0),a=e.n(c);function i(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function h(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,c)}return e}function l(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?h(Object(e),!0).forEach((function(t){i(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function o(n,t){if(null==n)return{};var e,c,a=function(n,t){if(null==n)return{};var e,c,a={},i=Object.keys(n);for(c=0;c<i.length;c++)e=i[c],t.indexOf(e)>=0||(a[e]=n[e]);return a}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(c=0;c<i.length;c++)e=i[c],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(n,e)&&(a[e]=n[e])}return a}var r=a.a.createContext({}),b=function(n){var t=a.a.useContext(r),e=t;return n&&(e="function"==typeof n?n(t):l(l({},t),n)),e},m=function(n){var t=b(n.components);return a.a.createElement(r.Provider,{value:t},n.children)},u={inlineCode:"code",wrapper:function(n){var t=n.children;return a.a.createElement(a.a.Fragment,{},t)}},g=a.a.forwardRef((function(n,t){var e=n.components,c=n.mdxType,i=n.originalType,h=n.parentName,r=o(n,["components","mdxType","originalType","parentName"]),m=b(e),g=c,p=m["".concat(h,".").concat(g)]||m[g]||u[g]||i;return e?a.a.createElement(p,l(l({ref:t},r),{},{components:e})):a.a.createElement(p,l({ref:t},r))}));function p(n,t){var e=arguments,c=t&&t.mdxType;if("string"==typeof n||c){var i=e.length,h=new Array(i);h[0]=g;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=n,l.mdxType="string"==typeof n?n:c,h[1]=l;for(var r=2;r<i;r++)h[r]=e[r];return a.a.createElement.apply(null,h)}return a.a.createElement.apply(null,e)}g.displayName="MDXCreateElement"}}]);