Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Say hello to redesigned Cloudways, an empowering Startup Program, enhanced Staging, a new Let’s Encrypt Wildcard SSL certificate feature, and more. READ MORE

How to Set up and Configure Postman SMTP on WordPress

Updated on October 27, 2018

5 Min Read
wordpress postman smtp plugin
Reading Time: 5 minutes

In October 2017, the most popular SMTP plugin “Postman SMTP” having 100k+ active installs, was removed from the WordPress repository due to an XSS vulnerability. This news was spread like a fire in the jungle.

The removal of the plugin was not just because of the vulnerability but due to the fact that it was not updated in the last sixteen months and was not compatible up to WordPress 4.4.

Some security researchers even tried to contact the plugin’s author but they were unsuccessful. Jason Hendriks, the man behind the plugin, did an excellent job for the WordPress users but later he also was unable to maintain the plugin.

For being an active user of the plugin and WordPress developer, I decided to fork the plugin so that all the hard work done by Jason cannot go to the garbage. I have named the fork as “Post SMTP Mailer/Email Log”, you can find the entire source code on Github. You can also get it from the WordPress repository. Within a few days, the Post SMTP plugin got more than thousands of active installs.

Anyhow, let me take you to a step-by-step guide on setting up Post SMTP WordPress plugin with Gmail/Google Apps and 0Auth so that Postman SMTP users and others can set it up properly.

Step 1: Install Post SMTP Plugin

Download and install Post SMTP from the (above) Github link or directly from the WordPress Dashboard.

Post SMTP WordPress

Step 2: Activate Post SMTP Plugin

After installing and activating the plugin, you will see a message inviting you to start to configure the plugin. Click on Settings.

Step 3: Troubleshooting Screen

This is the main screen of WordPress Post SMTP plugin. To power the plugin, I have also introduced the troubleshooting screen on the right. It can be very handy in some situations.

Troubleshooting Post SMTP WordPress

Step 4: Start The Wizard

Click on “Start The Wizard” button, enter your email address and the name you want to appear in the email From field.

Start Post SMTP WordPress

Post SMTP WordPress Configuration

Step 5: Gmail SMTP Server

Within a few moments, the plugin will auto resolve the Gmail SMTP server. After that, click on the Next button.

Step 6: Run Connectivity Test

The wizard will run a Connectivity Test and after that, you will see the connection screen.

Step 7: Connect to Mail Server

The wizard will automatically recommend and select: SMTP-STARTTLS with OAuth 2.0 authentication to host smtp.gmail.com on port 587, click Next.

Step 8: Client ID and Client Secret

In the Authentication screen, you will need to input two parameters: Client ID and Client Secret.

Step 9: Gmail API in Google API Console

To get the Client ID and the Client Secret, visit Google API Console and log in to your Gmail Account if asked.

Select Create Project and then Continue.

Gmail API Registration

Step 10: Google API Credentials

After a few seconds, the next screen will appear, select Go to credentials.

Gmail API

Step 11: Add Credentials to Project

Skip the current screen by clicking Client ID like the image below.

Gmail Credentials

Step 12: Configure Consent Screen

In this step, you will need to name your project, press the button on the right.

Step 13: OAuth Consent Screen

Enter the Email address, fill product field and then Save.

Credentials Gmail Project

Step 14: Create API Credentials

On the Create credentials drop-down, select OAuth client ID.

API Credentials

Step 15: Create Client ID

Select Web application, name your app and then copy the fields. I marked from the one with the same colors from the step number 8.

Web Application Gmail

Step 16: Copy Client ID and Client Secret

Now, copy the Client ID and Client Secret from above and paste them in their respective fields on step number 8 and save.

0Auth SMTP WordPress

Step 17: Grant permission with Google

Now from the page of Post SMTP under actions, select Grant permission with Google.

Grant Permissions with Google

Step 18: Choose an Account

From the dialog box, select the Gmail account you want to use sending emails.

Gmail Account

Step 19: Connet Post SMTP to Gmail

Approve the APP Name you used to send emails.

Step 20: Verify Post SMTP

To verify you configured everything correctly, just check that your status matches this one.

Step 21: Send a Test Email

The last step is to use Send a Test Email option to verify that everything is working as expected.

Test Email Post SMTP WordPress

Step 22: Enter Destination Email

Enter the destination email, if everything is configured properly, you should get a report like this one.

Destination Email

Good luck with the process, and you are all welcome to download the Post SMTP WordPress plugin.

Share your opinion in the comment section. COMMENT NOW

Yehuda Hassine

Yehuda Hassine is a WordPress Developer with more than 5 years of experience developing WordPress plugins and themes for Enterprise companies. He maintains the Postman SMTP plugin.

Start Growing with Cloudways Today!

We never compromise on performance, security, and support.

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

THERE’S MORE TO READ.