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.
The Crucial Role of Cellular Hydration in Weight Loss and Fitness When it comes to achieving health and fitness goals, one often overlooked but critical factor is cellular hydration. Understanding…
Enhancing Your Nutrition Strategy with WP Calorie Calculator Pro In the ever-evolving landscape of health and fitness, providing users with personalized and convenient nutrition tools is crucial for attracting and…
Enhancing User Experience: Integrating WP Calorie Calculator Pro with Biofeedback Devices In the health and fitness industry, providing a comprehensive and personalized user experience is crucial for attracting and retaining…
Optimizing Nutrition for High-Altitude Training: A Comprehensive Guide When athletes and fitness enthusiasts venture into high-altitude training, they face a unique set of nutritional challenges that can significantly impact their…
Optimizing Gut Health Through Personalized Nutrition Plans In the ever-evolving landscape of health and fitness, the importance of gut health and the microbiome cannot be overstated. A balanced gut microbiome…
The Critical Role of Nutrition in Traumatic Brain Injury Recovery When an individual suffers from a traumatic brain injury (TBI), the road to recovery is complex and multifaceted. One of…
Enhancing Your Ketogenic Journey with WP Calorie Calculator Pro Understanding Keto Cycling and Its Benefits Keto cycling, also known as carb cycling or the cyclical ketogenic diet, involves strategic periods…
Enhancing Health Tracking with Wearable Technology and WP Calorie Calculator Pro In the modern era of health and fitness, the integration of wearable technology with advanced calorie tracking tools has…
Optimizing Your Diet for Maximum Muscle Growth When it comes to building muscle, nutrition plays a crucial role that cannot be overstated. A well-planned diet is essential for providing the…
Managing Celiac Disease Through Personalized Nutrition Planning When it comes to managing celiac disease, a meticulous approach to nutrition is crucial. A gluten-free diet (GFD) is the cornerstone of treatment,…
Navigating the Challenges of Menopause: A Comprehensive Guide to Nutrition and Calorie Management Menopause is a significant life transition that brings about a multitude of physical and hormonal changes. One…
Optimizing Elite Sports Nutrition with Advanced Tools When it comes to competitive athletes, the right nutrition plan is crucial for optimal performance. Elite sports nutrition is not just about consuming…
The Crucial Role of Cellular Hydration in Weight Loss and Fitness When it comes to achieving health and fitness goals, one often overlooked but critical factor is cellular hydration. Understanding…
Enhancing Your Nutrition Strategy with WP Calorie Calculator Pro In the ever-evolving landscape of health and fitness, providing users with personalized and convenient nutrition tools is crucial for attracting and…
Enhancing User Experience: Integrating WP Calorie Calculator Pro with Biofeedback Devices In the health and fitness industry, providing a comprehensive and personalized user experience is crucial for attracting and retaining…