How to set up SMTP plugin for WP Calorie Calculator and WordPress and how to connect it with Google Workspace or another service

January 16, 2023

SMTP, or Simple Mail Transfer Protocol, is the standard protocol for sending email messages over the internet. When it comes to sending emails from a WordPress site, the default method is the PHP mail function. However, this method is not always reliable and can lead to issues with email deliverability. This is where an SMTP plugin comes in handy. SMTP plugins, like "WP Mail SMTP by WPForms", can help improve email deliverability by using a more reliable and secure method of sending emails. Additionally, using an SMTP plugin allows you to use your own email service provider, such as Google Workspace, rather than relying on the web host's email server.

Once you've installed the plugin (we'll use WP Mail SMTP in this example), you can proceed to configure the plugin settings which can be found by navigating to WP Mail SMTP in your WordPress dashboard, then selecting "Settings" and looking under the "General" tab.

Fill in the following fields:

  • From Email: this is the email address that emails will be sent from
  • From Name: the name that will be displayed as the sender
  • Mailer: select SMTP (in this example we'll use Google Workspace, you need to have a paid account with them to proceed, but there are no completely free SMTP solutions so Google sounds as a good choice for this)
  • Save settings

Then you need to create a Google Workspace API app to use their mailing system for SMTP:

  1. Go to the Google API Console: https://console.developers.google.com/
  2. Sign in with your Gmail account
  3. Create a new project by clicking on the "Select a project" dropdown and then "New Project" button
  4. Give your project a name and click on the "Create" button
  5. Once the project is created, click on the "Enable APIs and Services" button
  6. Search for "Gmail API" and click on the result
  7. Click on the "Enable" button
  8. Click on the "Create Credentials" button
  9. Select "OAuth client ID" as the type of credentials
  10. Select "Web application" as the application type
  11. Give the credentials a name, and enter the authorized JavaScript origin and authorized redirect URI.
  12. Click on the "Create" button
  13. A client ID and client secret will be generated. Make a note of these
  14. Go to plugin settings on WordPress and enter the client ID and client secret

After saving your settings you can go to the "Email Test" tab and try to send an email to your personal address to make sure that you set up everything correctly.

If you have any issues on any of these steps, please follow the more detailed article from plugin developers that can be found here: https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/

Read more

WP Calorie Calculator PRO V4 supports Elementor with the extra flexible widget

Hooray! We made it. Please welcome our newest V4 PRO. We've received a huge amount of requests to add an Elementor native widget. Finally it is live in our V4…
Plugin Translation

How To Translate Themes And Plugins Using Loco Translate

Right now, we’re working on broadening the list of languages WP Calorie Calculator supports. However, yours might be missing - sorry if that’s the case, our language list is still…
WP Calorie Calculator Pro

WP Calorie Calculator Pro – Your Key To Attract Users

Continuing to throw great health blog ideas in, we can’t let you miss this news: a new, Pro version of WP Calorie Calculator is out! You may already know the…
Healthy Blogging

Healthy Blogging: Best Ways To Promote Healthy Lifestyle

Eating healthy, exercising, living actively - those are some great values to promote. But there’s a dangerously thin borderline between recommending good practices and implicitly punishing for not following them.…
Heart Health Improvement

Heart Health

Heart disease is the leading cause of death, according to the Centers For Disease Control and Prevention. The CDC estimates that nearly half of these deaths were preventable. The World…
Fitness Done Right

Fitness Done Right: More Than Just Muscles

We work hard to be more healthy and fit, exercise regularly and eat right, but are we truly fit? Health and fitness involve living in a body that is reliable,…
4 Reasons You Aren't Losing Weight

4 reasons you aren’t losing weight

Losing weight is tough at the best of times. Every now and again, you find yourself craving junk food, feeling hungry, tired and miserable, and barely losing any weight at…

Sugar Vs. Healthy Diet – Myths And Facts

“Eat healthy food!” says everything and everyone these days. And it seems like we hardly need an explanation for the word healthy here: lots of protein, lots of veggies, no…
How To Fit Fitness Into Your Schedule

Actively Lazy: How to Fit Fitness into Your Daily Routine

We live busy and demanding lives with countless activities that pull us in many directions. Between work, school and kids, it just seems that there just isn’t any time left…
Exercises for Sedentary Lifestyle

How To Exercise If You Work From Home

If you’re reading this, 99% chance* that your lifestyle is mostly sedentary with little to no physical activity on business days. *The number may or may not be the result…
WP Calorie Calculator Pro update

Best WP Calorie Calculator Plugin: Always Striving to Progress

Along with the development of the webspace, we strive to keep up with trends in a timely manner and update the features of our plugin. If you are not familiar…
WP Calorie Calculator Pro - Updates

There Is No Limit To Perfection – WordPress Calorie Calculator Plugin Updates

Let me guess: are you the owner of a website on active life, proper nutrition, and/or a healthy lifestyle? In any case, whatever you do in this field, you will…

How to set up SMTP plugin for WP Calorie Calculator and WordPress and how to connect it with Google Workspace or another service

SMTP, or Simple Mail Transfer Protocol, is the standard protocol for sending email messages over the internet. When it comes to sending emails from a WordPress site, the default method…

WP Calorie Calculator PRO V4 supports Elementor with the extra flexible widget

Hooray! We made it. Please welcome our newest V4 PRO. We've received a huge amount of requests to add an Elementor native widget. Finally it is live in our V4…
Plugin Translation

How To Translate Themes And Plugins Using Loco Translate

Right now, we’re working on broadening the list of languages WP Calorie Calculator supports. However, yours might be missing - sorry if that’s the case, our language list is still…
+
gif-zoom-image