We use cookies to show you more relevant content based on your browsing and navigation history. Please accept or manage your cookie settings below.
Here’s our cookie policy.
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:
Create a new project by clicking on the "Select a project" dropdown and then "New Project" button
Give your project a name and click on the "Create" button
Once the project is created, click on the "Enable APIs and Services" button
Search for "Gmail API" and click on the result
Click on the "Enable" button
Click on the "Create Credentials" button
Select "OAuth client ID" as the type of credentials
Select "Web application" as the application type
Give the credentials a name, and enter the authorized JavaScript origin and authorized redirect URI.
Click on the "Create" button
A client ID and client secret will be generated. Make a note of these
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.
For many, navigating the world of nutrition planning can seem overwhelming. Understanding how to use tools like a calorie calculator is essential for creating effective diet plans and achieving weight…
Imagine a world where your clients are not just visitors to your gym but long-term partners in their fitness journey. In the age of digital innovation, client retention has become…
Integrating calorie tracking into your coaching workflow is a crucial step in providing effective nutrition guidance to your clients. As a fitness coach, your expertise in nutrition coaching can significantly…
Revolutionizing Fitness Marketing with Effective Lead Magnets When it comes to expanding your fitness business, one of the most critical strategies is to attract new clients consistently. In today's digital…
Revolutionizing Fitness: How Data Transforms Personalized Workout Programs Personalized fitness has evolved significantly, shifting from generic workout plans to highly tailored programs that leverage data-driven insights. This shift is driven…
In the ever-evolving landscape of the health and fitness industry, one of the most effective strategies for enhancing client engagement and retention is the strategic use of interactive tools like…
As we step into a new era of health and wellness, understanding and embracing innovative tools for future-ready nutrition becomes increasingly vital. The WP Calorie Calculator Pro is an advanced…
When it comes to optimizing our health, few components are as critical as the mitochondria, often referred to as the "powerhouses" of our cells. These tiny organelles are responsible for…
Optimizing Nutritional Strategies for Enhanced Collagen Production Collagen is a vital protein that supports skin health, joint nutrition, and overall body structure. However, maintaining optimal collagen production can be challenging…
Unlocking Better Metabolic Health Through Calorie Management Insulin sensitivity plays a critical role in maintaining optimal metabolic health, including blood sugar control and overall well-being. Challenges in insulin sensitivity can…
Chronic inflammation is a pervasive health issue, affecting millions worldwide and contributing to a wide range of debilitating conditions, including arthritis, diabetes, and cardiovascular diseases. Managing chronic inflammation requires a…
Customizing diets for endurance athletes requires an in-depth understanding of their nutritional needs, which can significantly impact their performance and stamina. Endurance sports, such as marathon running and long-distance cycling,…
For many, navigating the world of nutrition planning can seem overwhelming. Understanding how to use tools like a calorie calculator is essential for creating effective diet plans and achieving weight…
Imagine a world where your clients are not just visitors to your gym but long-term partners in their fitness journey. In the age of digital innovation, client retention has become…
Integrating calorie tracking into your coaching workflow is a crucial step in providing effective nutrition guidance to your clients. As a fitness coach, your expertise in nutrition coaching can significantly…