fbpx

Contact form 7 not sending emails on my WordPress website? How to use Post SMTP plugin to fix this

Table of contents

Why is contact form 7 not sending out emails?

Contact form 7 might not be delivering emails to your inbox because it sees the email as spam or possibly because the hosting company doesn’t use the PHP mail function. This means you are losing out on potential customers, which is pretty bad for business. So how do we overcome this hurdle? The easy way out is to use a wordpress plugin like WP Mail SMTP, Post SMTP, SMTP Mailer etc. that can help deliver your emails promptly. The focus of this article would be on a step-by-step guide for setting up the Post SMTP WordPress plugin using Google cloud console to get your filled out contact forms delivered straight to your inbox.

Get a Professional Website

We are a web design, Digital marketing and SEO consultants in Ibadan, Nigeria. We offer training and services to clients anywhere in the world. Lets help you grow your online presence and get real paying customers.

Step 1 - install the Post SMTP plugin in wordpress and activate it.

Navigate to the plugins section in your wordpress dashboard and search for Post SMTP mailer/Email log plugin. Install and activate it.

Step 2 - Open the Post SMTP dashboard and run the wizard

Navigate to the Post SMTP installation and run the installation wizard

Proceed to fill out your name and email address

Leave the outgoing name server option the same

Select the Gmail API option

Get the certificate credentials (client ID and client secret) from Google console and paste in the spaces provided in the Post SMTP installation wizard.

Step 3: Create a New Project in Google cloud console

  • Give the project a name. You can leave the location as “no organization” if you like. 
  • Click on create to proceed
  • Under your projects click on APIs and services. 

Step 4: Setup your OAUth consent screen

  • Select OAUth consent screen option to set it up
  • Select external option and click on create
  • Fill the necessary app information (Just app name, support email and developer email. Leave the others blank)
  • Save and continue for scopes and test users. 
  • Finish with the app information details and return to the dashboard

Step 5: Create credentials for OAuth client ID.

  • Click on Create credentials and proceed to create an OAuth client ID.
  • Select web application, leave the client name as “ web client 1”. 
  • Copy and paste the authorized javascript origins and authorized redirect urls created by the Post SMTP wizard.

  • Click on create and wait for a few minutes

  • Then copy the client ID and client secret generated and paste in the Post SMTP wizard on your wordpress dasboard

Step 6: Finish installation of the Post SMTP plugin

  • Skip the notification option in the post SMTP plugin by clicking next. Finish up installation of the plugin

Step 7: Push App to Production

  • Return to your Google console and from OAUth consent screen, click on push to production or publishing

Step 8: Enable Gmail API in Google cloud console

Click on enable APIs and services

Search for Gmail API in the bar, select it and make it enabled

Step 9: Grant permission in the Post SMTP plugin

Now return to the Plugin and Click on grant permission to complete the process. You should have a success notification as shown

Step 10: Confirm destination email set in contact form 7

Its important to verify that the receiver email is correct. Go back to your contact form 7 plugin, make sure you change the mail receiver to that just configured in the Post SMTP plugin.

Step 11: Send a test email from the Post SMTP plugin

Test your emails as they should work and have an image in your inbox like mine….Voila!

Conclusion

I have covered how to fix Contact form 7 not delivering emails by using the Post SMTP plugin. In this step-by-step tutorial i have outlined eleven simple steps to set up the plugin and get it to deliver emails straight to your inbox without hassles. Hope this helps. Feel free to get in touch with us for your WordPress website design & Digital marketing projects.

Get a Professional Website

We are a web design, Digital marketing and SEO consultants in Ibadan, Nigeria. We offer training and services to clients anywhere in the world. Lets help you grow your online presence and get real paying customers.

Found this Useful?

Share Via:

Comment

12
0
Would love your thoughts, please comment.x
()
x