Not on WordPress? Try Calorie Calculator Cloud. 30% OFF lifetime! Use promo LOYALTY on checkout. Sign Up

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
  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 with any of these steps, please follow the more detailed article from plugin developers that can be found HERE.

Read more

Using WP Calorie Calculator Pro in Food Sensitivity Management

Unlocking the Potential of Calorie Awareness in Food Sensitivity Management Managing food sensitivities often involves complex dietary adjustments, including elimination diets that require careful monitoring of calorie intake. The WP…

Optimizing Nutrient Timing with WP Calorie Calculator Pro

Unlocking the Power of Nutrient Timing for Enhanced Fitness When it comes to achieving fitness goals, whether it's building muscle, losing weight, or maintaining overall health, nutrient timing plays a…

WP Calorie Calculator Pro for Customized Fasting Protocols

Unlocking Personalized Fasting Protocols with Calorie Calculators Intermittent fasting has become a popular method for achieving weight loss and improving overall health. However, one of the most critical aspects of…

Enhancing Bodybuilding Prep with WP Calorie Calculator Pro

Unlocking Success in Bodybuilding Nutrition Bodybuilding is a discipline that requires meticulous attention to detail, particularly when it comes to nutrition. A well-planned diet is crucial for achieving the desired…

WP Calorie Calculator Pro in Stress Management Nutrition Plans

When it comes to managing stress, nutrition plays a crucial role. A well-planned diet can help reduce stress levels by providing essential nutrients that support mental health and well-being. One…

Using WP Calorie Calculator Pro for Carb Cycling Programs

Carb cycling is a dietary strategy that involves alternating between periods of high and low carbohydrate intake. This approach is designed to optimize energy metabolism, promote fat loss, and improve…

Integrating WP Calorie Calculator Pro with Genetic Testing for Nutrition

The intersection of genetic testing and personalized nutrition has opened new avenues for optimizing dietary choices based on individual genetic profiles. This field, known as nutrigenomics, explores how genetic variations…

WP Calorie Calculator Pro for Personalized Supplement Recommendations

Personalized supplement recommendations are becoming increasingly important in the health and fitness industry. With the rise of tailored nutrition plans, businesses are looking for innovative ways to engage their audience…

Using WP Calorie Calculator Pro in Eating Psychology Counseling

Understanding the complex relationship between emotions and eating habits is crucial for developing effective strategies in eating psychology counseling. Emotional eating, a behavior where individuals consume food in response to…

Optimizing Endurance Training Nutrition with WP Calorie Calculator Pro

Optimizing nutrition for endurance sports, such as marathons, triathlons, and road cycling, is crucial for achieving peak performance and ensuring recovery. Endurance athletes require a balanced intake of carbohydrates, proteins,…

WP Calorie Calculator Pro for Shift Workers’ Nutrition Optimization

Working irregular schedules, such as night shifts or rotating shifts, can significantly impact an individual's health and nutrition. Shift workers often face unique dietary challenges that can affect their energy…

Enhancing Senior Nutrition Plans with WP Calorie Calculator Pro

As we age, maintaining a balanced diet becomes increasingly important for overall health and well-being. Seniors face unique nutritional challenges, such as decreased metabolism, changes in appetite, and potential health…

Using WP Calorie Calculator Pro in Food Sensitivity Management

Unlocking the Potential of Calorie Awareness in Food Sensitivity Management Managing food sensitivities often involves complex dietary adjustments, including elimination diets that require careful monitoring of calorie intake. The WP…

Optimizing Nutrient Timing with WP Calorie Calculator Pro

Unlocking the Power of Nutrient Timing for Enhanced Fitness When it comes to achieving fitness goals, whether it's building muscle, losing weight, or maintaining overall health, nutrient timing plays a…

WP Calorie Calculator Pro for Customized Fasting Protocols

Unlocking Personalized Fasting Protocols with Calorie Calculators Intermittent fasting has become a popular method for achieving weight loss and improving overall health. However, one of the most critical aspects of…
+
gif-zoom-image