Version 3.1.3 of Ninja Forms has introduced a warning that appears within the email notification itself when the From Address of the notification does not match the address of your domain. This is a very common error that has a high probability of causing email notification actions to fail. Below we will explain why we have implemented this warning message and how you can correct it.
Why Am I Seeing This Warning?
When WordPress passes the Ninja Forms email notification data from Ninja Forms to your host to be sent, your host is going to make certain checks before the data gets the greenlight to go out as an email. These checks are meant to protect you, reducing spam and fraudulent/malicious email transmissions.
A very common check made by the vast majority of hosts and email service providers is to ensure that the From Address of the received email data matches the domain of the host/service provider. If it does not, the email data has a high probability of being rejected and the email will never be sent.
This is a common error that results in user emails not being sent, therefore we have implemented the warning message to let you know when this occurs.
How to Correct This Warning
To correct this warning, you have 2 options:
1. Remove the email address from the From Address field altogether, leaving the From Address field blank.
Left blank, your email notification data will be auto-populated with the admin email address you have entered into your WordPress dashboard under Settings>General>Email Address. As this address is associated with you by your host/email provider, this address should always work.
2. Change your From Address to an address that is associated with your host/email provider’s domain.
Email addresses consist of your chosen name followed by your domain. For example, you@yourdomain.com. “yourdomain” must be a domain recognized by/associated with your host/email provider.
As an example, if your hosting is through GoDaddy, you have probably set up or been assigned a domain name email address with them. You will need to use either that address or an address with a recognized GoDaddy domain name in the From field to prevent your email notification data from being rejected. For a list of domains associated with your host, you will need to contact your host.