Setup Contact Forms for WordPress on Google Cloud

August 3, 2017Leron AminComments Open

Are you frustrated trying to get your WordPress website’s contact forms to work on Google Cloud Platform? You’re not alone.

In this tutorial you will learn how to properly setup WordPress contact forms on Google Cloud Platform.

Before starting this tutorial, you should have already launched WordPress on Google Cloud Platform. Also, it is recommended that you setup a separate Google/Gmail account to handle all of your contact form emails.

So let’s get started.

There are 6 steps in this tutorial:

  • 1. Download Plugins (2)

  • 2. Edit Contact Form Settings

  • 3. Edit Email SMTP Settings

  • 4. Allow Less Secure Apps

  • 5. Publish Contact Form

  • 6. Troubleshoot

1. Download Plugins (2)

Setup Contact Forms in WordPress on Google Cloud
The first step is to install and activate the WP-Mail-SMTP plugin. This plugin will be used to re-configure your mail settings.
Setup Contact Forms in WordPress on Google Cloud
The other plugin you will need to install and activate is Contact Form 7. This plugin will be used to create contact forms.

2. Edit Contact Form Settings

Setup Contact Forms in WordPress on Google Cloud
After installing and activating the Contact Form 7 plugin, you will notice a “Contact” icon appear on the left-hand side of your WordPress dashboard. Click this icon, then click on “Contact form 1”.
Setup Contact Forms in WordPress on Google Cloud
Now that you’ve opened “Contact Form 1”, navigate to the Mail tab, and change the “To” field to the Gmail address where you want the contact form submissions to be sent.

3. Edit Email SMTP Settings

Setup Contact Forms in WordPress on Google Cloud
Next, navigate to Settings > Email. At the top of the page under the “Advanced Email Options” section, change the “From Email” field to match the same Gmail address that you used in the last step. Change the “From Name” field to whatever you want. Change all of the other settings in this section to match the settings in the picture. After making these changes, click the “Save” button.
Setup Contact Forms in WordPress on Google Cloud
Next, scroll down the page to the SMTP Options sections. Enter the email address and password for the Gmail account that you entered in the previous steps. Change all of the other settings in this section to match the settings in the picture. After making these changes, click the “Save” button.

4. Allow Less Secure Apps

As a security precaution, Google blocks account activity from apps that don’t use up-to-date security standards. For this reason, you will need to bypass this feature and tell Google to allow ‘Less secure’ apps to access your Google/Gmail account.

Setup Contact Forms in WordPress on Google Cloud
To fix this issue, sign in to the Google/Gmail account that you have designated to handle your WordPress contact form emails, then navigate to the Less Secure Apps settings page and click the “turn on” button.

5. Publish Contact Form

Setup Contact Forms in WordPress on Google Cloud
Next, go back to the “Contact” section of you WordPress dashboard. Copy your contact form shortcode.
Setup Contact Forms in WordPress on Google Cloud
Paste the shortcode in a new WordPress post, then visit the post page to test out your contact form.
Setup Contact Forms in WordPress on Google Cloud
Next, send a test contact form to see if it’s working. If it works, great! If not, proceed to the step below.

6. Troubleshoot

If you try to send an email and get an error message, Google may have blocked the SMTP plugin from sending mail from your account.

Setup Contact Forms in WordPress on Google Cloud
To fix SMTP security issues, login to the Google account that you used in setting up this tutorial. Next, head over to Google device activity and choose “YES THAT WAS ME” to authorize the SMTP application to send email.

Did it Work?

If your contact form is working properly, you will notice a green “success” message appear after clicking the send button.

If you have any questions or comments, please post them below!

Thanks,

Up Next…

google cloud ftp setup filezilla
Manage WordPress Files on Google Cloud Platform (Beginner)
manage wordpress files on google cloud
Manage WordPress Files on Google Cloud Platform (Advanced)

Leave a Reply

Your email address will not be published. Required fields are marked *

Made with by

© 2020 One Page Zen Systems, LLC  
Legal  |  Privacy Policy  |  Affiliate Disclosure  |  Contact  

Join our Mailing List!

Exclusive early access to the latest tutorials

Monthly update with a list of upcoming tutorials

Special access to members-only events and webinars