Configuring WP Mail SMTP Gmail Mailer using WP Mail SMTP WordPress SMTP plugin

WP Mail SMTP Gmail

Looking for a quick guide to set up WP Mail SMTP plugin on your WordPress site? WP Mail SMTP plugin is the best SMTP plugin in the WordPress plugin directory which helps in sending WordPress emails easily and reliably using a secure mail transfer protocol. In this article, we will help to easily set up the WP Mail SMTP Gmail- a third-party email Service.

So without further ado, let’s start with this WordPress WP Mail SMTP Gmail configuration guide.

WordPress WP Mail SMTP Gmail Mailer Configuration

1) Go to WordPress plugin directory and click on Add new and Search for WP Mail SMTP, you will find WP Mail SMTP by WPForms. Install & activate the plugin. ( Plugins -> Add New -> Search Plugins.. -> wp mail SMTP)

Search for WP Mail SMTP plugin

2) Now After activating the plugin go to the dashboard sidebar and you’ll find WP Mail SMTP. So hover on the WP Mail SMTP and click on settings. (Dashboard -> WP Mail SMTP -> settings)

WP Mail SMTP settings

3) In the SMTP settings, we are configuring Gmail SMTP settings. So in the general select Google- Gmail as Mailer. (Settings -> General -> Mailer -> Gmail (Google) )

Google gmailer SMTP

4) After selecting Gmail as a mailer, open Google APIs and create Gmail SMTP credentials. (Google APIs link: https://console.developers.google.com)

Google APIs

5) Now click on select a project and then click on a new project in the Google APIs dashboard.

select a project in Google APIs

6) Create a new SMTP project by entering the project name and then click on create a project.

Create SMTP project

7) Now Go to the project dashboard and click on enable APIs and services and then search for Gmail in APIs & Services search bar.

Gmail API in Google APIs

8) Click on Gmail API and enable the API by clicking enable button.

Enable Gmail API

9) After enabling API click on create credentials. In “Which API are you using?” dropdown select Gmail API, then in “Where will you be calling the API from?” dropdown select Web server (e.g. node.js, Tomcat) and in “What data will you be accessing?” select user data and then click on “What credentials do I need?”.

Gmail SMTP credentials set up

10) On clicking “What credentials do I need?” you will be asked to set up an OAuth consent screen. Click on set up consent screen and add “Application name”, “Authorised domains” and “Application Homepage link” and then click on the Save button.

OAuth consent screen

11) Now go back to the previous credentials tab and continue with “Create an OAuth client ID” where you have to enter “Name”, “Authorised JavaScript origins” and “Authorised redirect URIs”.

create an OAuth client ID

12) In “Authorised JavaScript origins” enter your domain (e.g. https://wpbuzzlab.com/) and in “Authorised redirect URIs” go to your WordPress WP Mail SMTP general settings copy Authorized redirect URI and add it and then click on create OAuth client ID.

Authorized redirect URI
WP Mail SMTP credentials

13) You will see your credentials. Click on “I’ll do this later” to copy the Client ID and Client Secret from the credentials page.

Download WP Mail SMTP settings
SMTP credentials

14) Paste the Client ID and Client Secret to WordPress SMTP Gmail Mailer settings and click on Save Settings.

WP Mail SMTP client Id and secret

15) After saving click on Allow plugin to send emails using your Google account and verify with your google account. After verifying You can test it using the “Email Test” option.

Email test

And that’s it…! You have successfully set up your WP Mail STMP settings using Gmail Mailer. If you like the article, then please share, and also, feel free to comment if you need help with anything.

Fenil Kalal is a talented web content writer that specialises in health and fitness, fishing, travel, cryptography, and gardening. His skills and expertise in the field are the result of years of research and study. His passion in science, along with a bachelor's degree in information technology, gives him an edge and adds value to his work. Because he is fascinated by science and technology, writing high-quality content has become a virtue for him.

Leave a Reply

Your email address will not be published.