This is one goes for those looking to quickly have their contact forms up and running in WordPress. Post SMPT does a wonderful job of making things work out of the box rapidly. I’ve often used it in many WordPress sites and so here are the basic steps that are required to get it running.
- Go to the plugins section of WordPress, search, install, and activate Post SMPT.
- Once installed go to the Post SMPT settings and click on “Start the Wizard”
- You will want to enter the Gmail address that will be used to send the emails. The Name simply refers to what name will appear when the contact forms are being used.
- Set the Outgoing Mail Server Hostname to smtp.gmail.com this normally comes up automatically. Then hit next.
- The next section really depends on your hosting provider, but for the most part SMTP – gmail.com:587 should work. Most hosting providers allow for Gmail access these days so the port should work. If not you’ll want to get in touch with your provider and see what can be the best option for you.
- Once you click next, you’ll want to go to the Google API Console that is associated with your Gmail. Here you will create a project, accept the terms and conditions, select your country, and chose the option for offers by Google.
- Once you agree and continue you’ll have to wait a few seconds. Then select go to credentials.
- Next, you will be prompted with a “Add credentials to your project” page, but simply click on the “client ID” link.
- Click on the Configure Consent Screen button.
- Unless your Gmail is a domain that is linked with a GSuite you will be able to select the Internal type of app. Otherwise, you must select External.
- Enter a name for your Application, your Email address, and the Homepage link for the website. Finally, click on save to the bottom.
- Select “Credentials” to the left of the screen, Create Credentials, and Choose OAuth Client ID.
- Select the Application Type, this will be Web Application. Give it a name, and enter the Authorised JavaScript origins, and redirect URI’s. The latter two can be found on the last step you stopped in WordPress, a sample can be seen in the second screenshot. This will generate Your Client ID and Secret which can be on the third screenshot below.
- Once you have entered your Client ID & Secret in Post SMTP you can select next, then you will be prompted how you want to be notified when emails fail to deliver. I simply select by email.
- That should sum up the basic configuration. Click finish.
- Ensure you grant permissions to the application with your Gmail. Then you can do a Test, if it’s successful you should get the success message along with the email to the inbox you selected.
Happy Sending & Receiving Emails!! 🙂