Some sites, and some hosting platforms, have difficulty handling email, in which case we have to add a plugin to ensure email delivery goes through smooth. Here are the steps for adding our preferred plugin, Postman SMTP, to a WordPress site:
- Find the plugin within the repository. It is https://wordpress.org/plugins/postman-smtp/
- Have at the ready an email address, preferably a gmail, and log in to it. You’ll need this address to set up the APP, API Key and App Secret.
- Enable the plugin and go through the Setup Wizard. It will ask you the email address and name. If a gmail address, it will go through the next two steps without any input needed.
- In authentication, click the link to the Google Developers Console Gmail Wizard to set up the App.
- In the Console, it will ask you to create a project and if you agree to the terms of service. This will enable the API.
- Still in the Console, add the email address and add a Product Name of your choosing.
- This will give you the Client ID. Copy it and paste it into Postman SMTP’s settings.
- To get the Client Secret, click on Credentials in the left menu, then click on the name of your APP. This will give you the Secret. Add to Postman SMTP.
- You’ll have to enable the APP, which Postman will prompt you to do.
- You’ll also need to go back into the settings, and change the transport type to Gmail API from SMTP.
And that should be it. Next, test the form to make sure everything is in order.