The goal of this tutorial is to send emails from WordPress using your Personal Email @gmail.com or your business email @domain.com which is using Google Workspace Subscription by using Fluent SMTP Plugin.
In order to proceed, there are a few things that are needed beforehand to configure Fluent SMTP with Gmail as below:
|Gmail Email Address||An existing firstname.lastname@example.org email address with a Password.|
|Administrative Permission||WordPress Administrator Role-based user access.|
|Firewall Status||Port 465 Opened.|
|TLS Support||TLS v1.0 v1.1 v1.2 v1.3 Support from the server where WordPress is hosted.|
|Inside Google My Account||Allow less secure apps, Unlock Display Captcha|
Steps at a glance #
- Grab the Email Address and its Password
- Allow less secure apps from Google My Account
- Unlock Display Captcha from Google My Account
- Create a new Fluent SMTP Connection with Other Method
- Put necessary details and Save
- Test the Connection
Grab the Email Address and its Password #
Let’s assume our target Email Address to be configured is email@example.com and its password: I2X22AZ21
Allow less secure apps #
Please visit this URL: https://myaccount.google.com/lesssecureapps and then turn ON Allow less secure apps.
Unlock Display Captcha #
Please visit this URL: https://www.google.com/accounts/DisplayUnlockCaptcha and then proceed with the steps.
Create a new Fluent SMTP Connection #
Now it’s time to configure Fluent SMTP. Create a new SMTP Connection and the method is Other.
Put necessary details #
|From Email||The Gmail email address firstname.lastname@example.org|
|From Name||The Name is whatever you want to use. I am using Ibrahim Sharif.|
|Authentication||Yes. It’s better to store the Access keys in the Database.|
|SMTP Username||The Gmail email address email@example.com|
|SMTP Password||Email Password: I2X22AZ21|
Test the Connection #
Now it’s time to test the connection if it’s working or not! Go to Fluent SMTP > Email Test:
-> Use the From as your Gmail email just configured.
-> Send To where you want to receive the test email.
-> HTML should be turned on to avoid suspicious activity by Spam Filters.
Now click Send Test Email and check the destination Email Address.
In this case, the test email is received and we are done configuring the Gmail Email address to send WordPress emails using the Fluent SMTP Plugin.
Important Note #
It is highly recommended to configure a cron job replacing WordPress Default PHP-based Cron job to operate Email sending and other scheduled jobs smoothly.
Some hosting may not allow running a cron job below 5 Minutes. But it is still better than a PHP-Based cron job.
Emails landing in Spam Folder depend on numerous factors including IP reputation, Domain reputation, and Email Body Content.
Please feel free to ask questions, have discussions regarding configuring Fluent SMTP with Gmail in our Forum