WP Mail Booster is the WordPress SMTP plugin used for an efficient email delivery. WP Mail Booster is an Easy and lightweight plugin which is used to send emails, Monitor Emails and also troubleshoot the outgoing Emails easily.
Are you not receiving Email Notifications from your WordPress site?
When you are not able to receive email notifications from your site then there are two common reasons behind this:
- Server Configuration.
- Spam Filtering.
WordPress by default send email using the PHP Mail function, and many WordPress hosting servers are not configured to use PHP mail().
Your email provider keeps a check on all incoming emails to determine, from where the emails are originating.
Example: If your email server is example.com, but your email claims to sent from your web site’s domain, then there are chances to block that notification before it reaches to the spam folder.
How to Setup Google OAuth API with WP Mail Booster?
By using OAuth Authentication you can connect with outside SMTP server. Here is the step-by-step guide on setting up WP Mail Booster WordPress Plugin with Google OAuth API.
Step 1: Account Info
Scroll to Mail Booster Menu and choose Wizard Setup.
If you do not wish to enter information in this fields, then the plugin will use the Default Settings.
Step 2: Login Credentials
You would need to choose the Mailer Type. Go and select Send Email via SMTP from the drop-down list.
Next, you need to set up SMTP options to continue.
Enter your SMTP Host and SMTP Port details, you can get this information from your hosting provider, or you can also visit your configuration options to obtain related information.
Typically SMTP host is mail.yourdomainname.com, like smtp.gmail.com, you have to replace your domain with yourdomainname.com.
- Gmail :- Host: smtp.gmail.com – Secure(SSL) – Port(465)
- Gmail :- Host: smtp.gmail.com – Secure(TLS) – Port(587)
Note: These SMTP Ports and Settings may be different depending upon your Host Provider. Please contact your Web Server Host for correct details.
Choose OAuth ( Client ID and Secret Key required ) option from the Authentication drop-down list, then configure your Client ID, Secret Key from your desired account and paste here. To configure, Click on the link given with Client ID ( Get API Key / How to Setup? ), and you can also visit here.
Steps to Follow to Generate Google OAuth API Credentials
To enable the API services on your account, you have to click on ENABLE APIS AND SERVICES.
Click on Gmail API to continue to next step. A new screen opens and then click on the Enable button.
Click Client ID link, under the heading, Find out What kind of credentials you need.
Click on the Configure Consent Screen button which continues you to OAuth Consent Screen.
Select OAuth client ID from the drop-down list.
In the Create OAuth client ID screen, select the Web application radio button under the Application Type. And enter a Name in the Name setting field, as Web Client 1 shown below.
Copy the Redirect URI from WP Mail Booster and paste it on Authorized Redirect URIs settings, click on Create button to continue.
Note: Before you start configuring, make sure that your less secure apps enable to your account.
Step 3: Verify
Your debug output is display on the screen and you have to check whether the email sent or not.
We hope this article helped you configuring the Google OAuth API with WP Mail Booster WordPress Plugin.