Home Website TutorialsWordPress Configure SMTP with G Suite for the WordPress website

Configure SMTP with G Suite for the WordPress website

by
Published: Last Updated on
A+A-
Reset

What is SMTP?

SMTP – Simple Mail Transfer Protocol is a standard for transferring email messages over the Internet. You can understand that SMTP will help your website to send mail or receive mail through a pre-set address on the website, this function is responsible for receiving notifications when your customers, users make perform order operations on the website, and at the same time, the mail will also be sent back to the user’s email address to notify about their operations and orders.

Install SMTP with Gsuite

Step 1: Get the app password

To configure SMTP with G Suite, you need an application password to configure SMTP because configuring SMTP will not use the same password as your G Suite account.

To get the application password, please access your Gsuite account by following the link here.

After successfully logging in, at the admin interface, you access Security => Application password.

gsuite 1

Next, in the Select Application section => select Other.

gsuite 2

Please enter SMTP and click Create.

gsuite 3

You will receive information like the image below.

You will receive information like the image below. In the yellow box, you will see characters, this is your application password. Please save this password.

gsuite 4

You have completed the process of getting the application password on G Suite.

Step 2: Connect SMTP

To connect SMTP, you can refer to some plugins such as WP Mail SMTP by WPForms, WP SMTP, Easy WP SMTP. AZDIGI will configure with the Easy WP SMTP plugin.

Please fill in the following configuration information:

  1. Sending email address: The email address used to send
  2. Sending email name: Display name when sending Email
  3. Reply-To Address: Email address to reply to
  4. Máy chủ SMTP: Enter smtp.gmail.com
  5. Encryption type: You can choose your own encryption type depending on your needs.
  6. SMTP port: I use SSL/TLS, so it will be port 465.
  7. SMTP Username: This username is the same as the sending email address.
  8. SMTP Password: The application password you created in step 1.

After filling in all the information, click Save Changes.

gsuite 5

After the configuration is complete, go to the Test send mail tab to test it, if you receive the message as shown, it is successful.

gsuite 6

Possible Errors When Configuring SMTP with G Suite

There will be some cases where you have correctly configured email and full SMTP information, but when test mail still cannot be sent and the error log is similar to the image below:

gsuite 9

In this case, it is highly likely that your G Suite account has not been granted permission to use less secure applications (because G Suite is a paid service from Google, they will probably have many limitations to increase security confidentiality on their mail services).

To handle the above problem, you need to go to the G Suite Admin account according to the link here and allow the child accounts to use less secure applications. At the G Suite admin interface, you access > Security => Less secure applications.

gsuite 7

Next, select “Allow users to manage their access to less secure apps” and click Save.

gsuite 8

After adjusting this section, you can check to send SMTP email again.

So in this article, AZDIGI showed you how to configure SMTP with G Suite and handle errors on Gsuite accounts in the simplest way. If you have questions or encounter problems during the configuration process, you can send a support ticket to AZDIGI’s Technical Department for assistance.

  • Hotline 247: 028 888 24768 (Ext 0)
  • Ticket/Email: You can use your email to register for the service and send it directly to: support@azdigi.com

Wishing you success!

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign