How to configure sending out emails from wordpress using WP-SMTP plugin

blue and white logo guessing game

Share the post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Article table of contents

WP-SMTP software gives you a lot of options to send mail through many different services. In this article we will learn how to configure WP-SMTP

OPTION 1: send mail using SMTP Gmail

What are the benefits of using SMTP Gmail for WordPress?

In addition to the benefits that most providers wordpress hosting and ISP support, using SMTP Google also brings many benefits such as:

  • Your mail deliverability has a much higher success rate
  • No need to install server (if you are using VPS)
  • Your mail is rarely marked as spam

How to use SMTP Google for free?

You need to have some preparation before you start using the SMTP service, including:

  • Gmail or G Suite account
  • Access the hosting control panel

Step 1: Get SMTP Google Mail Server configuration information

You can get the Google SMTP configuration information here:

  • SMTP Server : smtp.gmail.com
  • SMTP Username: Name full Gmail (email address), for example [email protected]
  • SMTP Password: App password for your Gmail.
  • SMTP Port: 587
  • TLS/SSL: Required.

Step 2: Create an app password for your Gmail account

To create an application password for Gmail, you access https://myaccount.google.com/ and sign in with your Gmail account. Here first you need to turn on 2-step authentication

Screenshot_8

Then follow the instructions to turn on 2-step verification. After enabling 2-step verification, we proceed to create an application password

Screenshot_9

Screenshot_10

Screenshot_11

Screenshot_12

After clicking Create we will receive the application password and we need to save this password to use

Screenshot_13

Option 2: SMTP using Sendgrid's API

One of the very good 3rd party services is sendgrid, when you sign up for an account, you will be free to send 100 emails/day.

After successful registration, go to the dashboard and select

Settings / API key

Then give it a name and create a new API key.

Copy this API key code (note it is only displayed once) so copy and paste it into the WP-SMTP plugin in the following section and test.

The advantage of the API key is that you can customize the sender to be displayed instead of just gmail (however the server still shows the specs email sent from sendgrid if the user looks at the specs)

Install SMTP Plugins and Configure SMTP for WordPress

We will install and activate the WP Mail SMTP by WPForms plugin. If you do not know how to install plugins for wordpress, you can refer to the following article: Instructions for installing plugins for wordpress

Screenshot_14

After installing and Active plugins, we proceed to configure SMTP

Screenshot_15 - SMTP Gmail for wordpress

Please fill in the following:

  1. SMTP Host – fill smtp.gmail.com.
  2. SMTP Port – The default SMTP Google is 465 for SSL and 587 for TSL.
  3. Encryption – You should always use encryption. Choose it to match the port number you use.
  4. Authentication - Choose On because SMTP authentication needs to be enabled.
  5. Username – Your Gmail address.
  6. Password – The Gmail app password you created in the previous step.

Screenshot_16 - SMTP Gmail for wordpress

After the configuration is complete, click Save Settings to save settings. Next we will check if the mail delivery is successful or not.

Screenshot_17 - SMTP Gmail for wordpress

In there Send To is the email to receive test mail. After filling in the information, click Send Test. If you receive a message like the picture, it is successful.

Screenshot_18 - SMTP Gmail for wordpress

Screenshot_19 - SMTP Gmail for wordpress

Typical projects

ONLEE

Thanh Cong Textile - Investment - Trading Joint Stock Company (TCG) is the parent company distributing for ONLEE channel.  

Cafe Lamvita

Professional luxury Lamvita coffee machine model, easy control, smart easy to use, durable, modern.

KIM SANG

JAYbranding Company is very pleased to accompany Kim Sang masks to build a set of product promotional images.

Donagamex

Dong Nai Garment Corporation Joint Stock Company. The company specializes in manufacturing and trading garments for export and domestic consumption;

viVI

More detail...

Please let us assist you in the solution

Please input your contact