Post SMTP Mailer/Email Log is a Newer and Better option for WordPress Postman SMTP Plugin Users

by Yehuda Hassine  October 27, 2017

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.

Post SMTP for WordPress

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.

Let’s Start the Installation Process

Step 1:

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

Post SMTP WordPress

Step 2:

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

Step 3:

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:

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:

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

Step 6:

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

Step 7:

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:

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

Step 9:

To get the Client ID and the Client Secret. Visit this URL  and log in to your Gmail Account if asked.

Select Create Project and then Continue.

Gmail API Registration

Step 10:

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

Gmail API

Step 11:

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

Gmail Credentials

Step 12:

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

Step 13:

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

Credentials Gmail Project

Step 14:

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

API Credentials

Step 15:

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:

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:

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

Grant Permissions with Google

Step 18:

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

Gmail Account

Step 19:

Approve the APP Name you used to send emails.

Step 20:

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

Step 21:

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 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.

Start Creating Web Apps on Managed Cloud Servers Now!

Easy Web App Deployment for Agencies, Developers and E-Commerce Industry

About Yehuda Hassine

Yehuda Hassine is a WordPress Developer with 5 years of experience developing WordPress plugins and themes for Enterprise companies.

Stay Connected:

You Might Also Like...