Problems with email delivery are often unrelated to the plugin itself. More often than not, if an email doesn’t arrive in the recipient’s inbox, it’s because it’s either blocked or there’s an issue with your site’s mail server.
If the plugin has successfully executed the email sending function and the recipient hasn’t received it, it’s likely that the email was blocked or redirected to the spam folder.
In this guide, I’ll walk you through the steps to verify whether the plugin has indeed sent the email, enabling you to further investigate and resolve the issue on your end.
How to Verify if the Plugin Sent the Email or Not
- Go to the settings menu of the plugin.
- Enable the debug logging option by checking the “Enable Debug” field. Then save the settings.
- Do a test signup and check the debug log file.
If you see entries like the following then that means the plugin successfully executed the email sending code:
Email was sent successfully
When our plugin processes the email sending function, it usually logs an entry in the debug file indicating the email was dispatched. This serves as a confirmation that the plugin has successfully carried out the email sending task.
What Can I do to Fix the Email Issue?
If the plugin is sending the email but the recipient is not getting it then that means the email that is sent from your server is getting blocked somewhere (or being marked as spam). You need to fix that so the emails sent by the plugin doesn’t get blocked.
Try doing the following:
Step 1) Use Correct From Email Address
Make sure you are using an email address that uses your domain name as your “From Email Address” field value. Some servers won’t deliver the email if you don’t send it from an address that uses your domain name.
Example: Lets say you can use the following two addresses as your “From Email Address” field value (the 1st one is an email address on your domain, the 2nd one is your gmail address):
1. ABC Company <[email protected]>
2. ABC Company <[email protected]>
You should use the 1st example in your plugin settings.
If you are using the 2nd example as your from email address value then there is a good chance that this email will be blocked (or get marked as spam).
Step 2) Use SMTP to Send Emails from Your Server
Some servers only allow emails with SMTP configuration. You can get a WordPress plugin to configure SMTP for your WordPress install. You can use the following SMTP plugin:
Once you configure SMTP, all the emails that gets sent out by WordPress will use this configuration. This will result in a high deliverability of your emails.
Make sure to test the email sending functionality from this plugin. Then use those exact configuration (that works) in the plugin’s email settings.