Troubleshooting - Email notifications from WordPress not sent or marked as spam
If you use email notifications from your forms in WordPress, it can happen those are not sent properly, or marked as spam. This article contains some troubleshooting for this.
Emails from Tripetto
Tripetto offers a few possibilities to send mails:
- Automated email notification of new entries;
- Emails from the form itself, created with the send email block.
In WordPress it can happen these emails get marked as spam or are not sent at all. Let us explain why that can happen.
As every WordPress instance is different (from server setup to plugins and themes), the Tripetto plugin itself can not handle the email sending itself. That's why the plugin uses the WordPress standards regarding email functionality: the
By default, the
wp_mail() function of WordPress uses the PHPMailer function to create and send unauthenticated emails from the webserver.
Issues with the default WordPress mailer function can be caused by:
- An incorrect or non-existing WordPress mailer configuration;
- Your hosting platform not allowing the use of PHP for sending emails;
- Using a sender address that's not allowed to send emails from your domain;
- Incorrect or non-existing DNS records, resulting in your webserver not being allowed to send emails on behalf of your domain;
- The use of an out-of-date or misconfigured plugin that replaces the default WordPress mailer function.
See the below recommendations to troubleshoot mailing issues in WordPress.
Check your WP mail configuration
First of all, make sure your WP installation is able to send mails using the default WordPress mailer function the correct way. Tripetto uses this email function to send your emails from WordPress. In fact, the Tripetto plugin itself does nothing to send emails; all is done by your own WP mail configuration. That's why it is important you know for sure your WP installation is able to send emails.
Test your configuration
You can use other WP plugins to test if your WP installation is able to send mails, for example this plugin (install and use on your own responsibility).
If you're absolutely sure your WP installation is able to mail, but still don't receive the emails, please have a look at the below suggestions.
Check your sender address
Next, check if you are using a sender email address that is allowed to send emails from your domain name. Due to security reasons not every email address is allowed to do just send emails from your mail server.
You can configure the sender name and sender address that Tripetto uses to send emails from your forms. Please have a look at this article about WordPress settings to configure the sender name and sender address.
Check your spam folder
Check your spam folder of your recipient email. Due to various reasons it can happen your email client marks the email as spam.
Check your Tripetto plugin version
Check which version of the Tripetto plugin you're on. You can find which version you're on the Plugins section in your WP Admin. Check our article about updating the plugin if you're not on the latest release version.
Lastly, you can try the following to solve issues:
- Check your email logs to see if you can find any reasons why the emails are not sent or not received;
- Install, activate, and configure a plugin that replaces or extends the default WordPress mailer function. Most plugins use secure SMTP with authentication. Some plugins offer OAuth2.0 for authentication;
- Or use the WordPress API and extend the
wp_mail()function to configure secure SMTP with authentication.
Keep in mind that some solutions will store your email account details to either wp-config or the database, making it a potential risk when your website/web server gets compromised.
We don’t recommend any specific plugins on this matter and don't provide support or instructions on how to use them.
Still not working?
If you're sure your WP installation is able to mail and the above suggestions don't work out for you, please contact us. We're happy to help you!