{"id":15912,"date":"2023-08-30T17:49:28","date_gmt":"2023-08-30T10:49:28","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=15912"},"modified":"2023-09-07T14:23:16","modified_gmt":"2023-09-07T07:23:16","slug":"cach-thiet-lap-cai-dat-gmail-smtp","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/","title":{"rendered":"Instructions on how to set up Gmail SMTP settings"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You may be in need of setup <strong>Gmail SMTP<\/strong> setting on a new computer, using a mail app on your iPhone, or you want to install Gmail SMTP to manage email for your business website. Gimasys will detail why and how to use Gmail SMTP settings in this blog, and also cover POP\/IMAP settings so you can also receive emails<\/span><\/p>\n<p style=\"text-align: justify;\"><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15905\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_2.jpg\" alt=\"Instructions on how to set up Gmail SMTP 2 settings\" width=\"600\" height=\"301\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_2.jpg 599w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_2-18x9.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#SMTP_la_gi\" >What is SMTP?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Gmail_SMTP_server_la_gi\" >What is Gmail SMTP server?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Tai_sao_ban_can_thiet_lap_Gmail_SMTP_settings\" >Why do you need to set up Gmail SMTP settings?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Cac_loai_SMTP_trong_Gmail\" >Types of SMTP in Gmail<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Cach_su_dung_Gmail_SMTP_settings\" >How to use Gmail SMTP settings<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#De_tao_mat_khau_ung_dung\" >To create an app password:\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Tuy_chinh_cau_hinh_Gmail_SMTP_setting_tren_ung_dung_email_cua_ban\" >Customize Gmail SMTP settings on your email client:\u00a0<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-thiet-lap-cai-dat-gmail-smtp\/#Ket_luan\" >Conclusion\u00a0<\/a><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"SMTP_la_gi\"><\/span><b>What is SMTP?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">SMTP stands for Simple Mail Transfer Protocol (SMTP)\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">SMTP is an email protocol that allows you to send messages from one email account to one or more email addresses. Without it, email communication would not exist.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">An email protocol is a combination of parameters and rules for exchanging information between email accounts. SMTP is used to communicate between servers and establish which servers receive or route your messages. This is the most commonly used protocol for outgoing emails.<\/span><\/p>\n<p style=\"text-align: justify;\"><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15904\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_3.jpg\" alt=\"Instructions on how to set up Gmail SMTP settings 3\" width=\"600\" height=\"269\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_3.jpg 595w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_3-18x8.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Gmail_SMTP_server_la_gi\"><\/span><b>What is Gmail SMTP server?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Gmail SMTP server or SMTP server for Gmail is a free SMTP server that anyone around the globe can use. It allows you to manage emails from your Gmail account through a 3rd party email client or web app. The 3rd party email client is the end user&#039;s mail client. Some of the most popular applications are Thunderbird, Outlook, etc.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">The default Gmail SMTP server name is smtp.gmail.com, and if you use it, you can custom configure any external email client to send messages.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Email platforms connect to SMTP servers via specific email ports. The SMTP gateway is the endpoint used to transmit email over the internet. Secure Gmail SMTP ports are 465 and 587.<\/span><\/p>\n<blockquote><p><strong>Refer:<\/strong> <a href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/gmail-api\/\">Gmail API \u2013 All you need to know<\/a><\/p><\/blockquote>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Tai_sao_ban_can_thiet_lap_Gmail_SMTP_settings\"><\/span><b>Why do you need to set up Gmail SMTP settings?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">In short, SMTP allows your website or email client to communicate with Gmail and ensure your email delivery is done correctly.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You will need to set up your Gmail SMTP settings when:\u00a0<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Connect your Gmail account to send email from an external email client such as Microsoft Outlook or Thunderbird.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You want to send transactional or system emails from your website\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You need to customize the SMTP plugin configuration (Gmail SMTP plugin) to send emails from WordPress<\/span><b><\/b><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15906 size-full\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_1.jpg\" alt=\"Instructions on how to set up Gmail SMTP settings\" width=\"600\" height=\"375\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_1.jpg 600w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/08\/gmail_smtp_1-18x12.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Cac_loai_SMTP_trong_Gmail\"><\/span><b>Types of SMTP in Gmail<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">There are three ways you can set up Google&#039;s SMTP server:\u00a0<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail&#039;s SMTP server<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SMTP Relay Service (for Google Workspace)\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP server is limited\u00a0<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">In this guide, we will only cover the first way because:<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The SMTP relay service is available to Google Workspace users (for a fee) and is used to send bulk emails such as newsletters, triggered\/automated emails, or system emails as notifications.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP server is limited to sending emails only to other Google Workspace or Gmail email addresses.\u00a0<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">As for Gmail&#039;s SMTP server:\u00a0<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">No Workspace or paid subscription required.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You won&#039;t be limited to only sending to Gmail addresses or addresses within your organization (or using the same domain name).\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It is just as secure and protected as the Google Workspace SMTP installation.\u00a0<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Additionally, it allows you to forward emails through a Gmail alias if you have one set up.<\/span><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Cach_su_dung_Gmail_SMTP_settings\"><\/span><b>How to use Gmail SMTP settings<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Important notice if you are using 2-Factor Authentication (2FA):\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you have two-factor authentication enabled on your Google account, you can use an SMTP server. However, you will need to create an app password to allow another app to connect.\u00a0<\/span><\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"De_tao_mat_khau_ung_dung\"><\/span><b>To create an app password:\u00a0<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Come in <\/span><a href=\"https:\/\/myaccount.google.com\/apppasswords\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Links<\/span><\/a><span style=\"font-weight: 400;\"> this when signed in to your Google account. (Go to your Google Account &gt; Security &gt; Signing in to Goggle &gt; App passwords)\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From the drop-down menu, you need to select the application:<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then select the device type<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Finally, click \u201cGenerate\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail will then provide you with a key code (yellow) to use in your chosen app and the required steps to do this:<\/span><\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Tuy_chinh_cau_hinh_Gmail_SMTP_setting_tren_ung_dung_email_cua_ban\"><\/span><b>Customize Gmail SMTP settings on your email client:\u00a0<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Adding your SMTP settings may be a different process depending on the email client you are using. Outlook and Thunderbird both have different processes but are usually found in Account Settings \/ Outgoing Server.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Below are the Gmail SMTP settings you need to enter:<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP server address: smtp.gmail.com\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP name: Your full name<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP username: Your Gmail address<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP password: Your Gmail password<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP port (TLS): 587\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gmail SMTP port (SSL): 465\u00a0<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If asked:<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SSL Requires: Yes\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Requires TLS: Yes\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Requires \/ Use authentication: Yes\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Requires \/ Use secure connection: Yes<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Other platforms&#039; email clients may have different setup processes. Be sure to check out the specific instructions for customizing your Gmail SMTP settings.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Now that you have your outgoing server set up, you can send emails from your newly customized application. But remember that you can only send outgoing mail using SMTP settings, if you want to receive incoming mail you will need to set up POP\/IMAP settings.<\/span><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Ket_luan\"><\/span><b>Conclusion\u00a0<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You can now customize the configuration <strong>Gmail SMTP<\/strong> setting and is all set up to start sending emails from your external application!\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">However, always keep Gmail&#039;s sending limits in mind. Using another email client does not get you out of Gmail&#039;s 500\/day limit. To avoid being flagged or blocked by Gmail, it&#039;s safest to start slowly (40-100 emails) per day before trying to send more.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Gimasys - Google&#039;s Premier Partner in Vietnam is a provider and consultant on the structure and design of the optimal Cloud solution for you. For technical support, you can contact Gimasys \u2013 Premier Partner of Google in Vietnam at the following information:<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Hotline: <\/b><span style=\"font-weight: 400;\">0974 417 099 (HCM) | 0987 682 505 (HN)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Email: <\/b><span style=\"font-weight: 400;\">gcp@gimasys.com<\/span><\/li>\n<\/ul>\n<p style=\"text-align: right;\"><b>Source: Gimasys<\/b><\/p>","protected":false},"excerpt":{"rendered":"<p>B\u1ea1n c\u00f3 th\u1ec3 \u0111ang c\u1ea7n thi\u1ebft l\u1eadp Gmail SMTP setting tr\u00ean m\u00e1y t\u00ednh m\u1edbi, s\u1eed d\u1ee5ng \u1ee9ng d\u1ee5ng g\u1eedi th\u01b0 tr\u00ean iPhone ho\u1eb7c b\u1ea1n mu\u1ed1n c\u00e0i \u0111\u1eb7t Gmail SMTP \u0111\u1ec3 qu\u1ea3n l\u00fd email cho trang web doanh nghi\u1ec7p c\u1ee7a m\u00ecnh.&hellip;<\/p>","protected":false},"author":2,"featured_media":15906,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1,134],"tags":[],"class_list":["post-15912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","category-google-workspace","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/15912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=15912"}],"version-history":[{"count":0,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/15912\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/15906"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=15912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=15912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=15912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}