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.
Enhancing Website Engagement Through Multilingual Tools Expanding your health and fitness website’s reach globally requires not just quality content but a tool that resonates with users across various languages and…
Innovations in Nutrition: The Marriage of AI and WordPress Calorie Trackers The landscape of nutrition and diet planning is undergoing a transformative evolution, powered by the fusion of artificial intelligence…
Unlocking the Power of Interactive Tools for Health and Fitness Growth Engaging visitors on a fitness or nutrition website is a challenge that requires more than just excellent content. Interactive…
Innovative Tools to Enhance Client Engagement in Fitness In today’s digital age, maintaining client motivation is essential for fitness professionals and nutrition coaches. One of the most effective engagement strategies…
Enhancing Your Website with Smart Nutrition Tools In today’s health-conscious world, helping your visitors make better food decisions can significantly boost engagement and loyalty on your WordPress site. Integrating a…
Understanding the Science Behind Calorie Calculators When it comes to effective weight management, understanding your body's daily calorie requirement is essential. Calorie calculators use scientific formulas such as the Mifflin—St.…
Enhancing User Interaction Through Dynamic Features In today's competitive digital landscape, capturing and maintaining visitor attention on your fitness website calls for more than just static content. Incorporating interactive elements,…
Unlocking Data-Driven Success in Fitness and Nutrition Coaching Today, the health and fitness industry is more competitive than ever, with numerous professionals vying for attention in the digital space. One…
In today's digital age, having a strong online presence is crucial for any business, including gyms. One effective way to enhance your gym's website and attract more members is by…
For those interested in creating effective weight loss programs, leveraging WordPress calorie data can be a powerful strategy. By integrating tools like calorie calculators into your website, you can offer…
Engaging and retaining clients in the health and fitness industry can be challenging, especially with so many options available to consumers. One effective strategy is to utilize tools that provide…
In today’s fast-paced world, helping clients simplify meal planning is a key differentiator for health and fitness professionals. The rapid rise of digital solutions, especially within the WordPress ecosystem, has…
Enhancing Website Engagement Through Multilingual Tools Expanding your health and fitness website’s reach globally requires not just quality content but a tool that resonates with users across various languages and…
Innovations in Nutrition: The Marriage of AI and WordPress Calorie Trackers The landscape of nutrition and diet planning is undergoing a transformative evolution, powered by the fusion of artificial intelligence…
Unlocking the Power of Interactive Tools for Health and Fitness Growth Engaging visitors on a fitness or nutrition website is a challenge that requires more than just excellent content. Interactive…