There are several reasons why your Contact Form may not be working. Below you will find basic troubleshooting steps to get to the bottom of most contact form issues.
Is your site still in temp url mode?
If you are still using your temp URL to build your site and have not pointed your domain name yet, hold off on testing contact forms until the domain is working. The contact forms and any shop checkout will be the last things you test with the domain live before launching your site. This is required to ensure email is being routed correctly, especially if your email address uses your domain name.
Is it Configured Correctly?
First, check your theme options to ensure you have configured any Contact page settings correctly. These are required if you are using a pre-made Contact page that uses an embedded form versus a form setup in a plugin.
Things to check:
- Make sure the email address is correct and you are receiving email at that address properly (you can send yourself an email from your inbox to make sure it doesn't bounce)
- If a reCaptcha option is enabled, you must setup an API key. See How to create reCAPTCHA keys and activate for Contact Forms
Verifying Contact Form 7 configuration
Contact Form 7 requires the sender address and header to be formatted a specific way for the form to validate properly.
- Click on Contact in your admin menu
- Click the form you are using to edit it
- Click the Mail tab
- Ensure the email address is correct. If your address uses your domain name, you must be logged in to the WordPress admin using that domain name, not your temp url!
- In the Sender field, it must use this format: Your Site Name <[email protected]>
- Next, the Additional Headers field must contain the email address tag representing the person submitting the form, NOT your email address . Example:
- Wrong: Reply-To: [email protected]
- Right: Reply-To: [your-email]
Is it a ReCaptcha problem?
If the form is not submitting or returning a color-coded error message, it is likely a ReCaptcha configuration error if the above all checks out.
Form is Configured Right But Emails Are Never Received - No Error Message
If your form appears to be setup correctly and you are sending a test submit and all appears to go as planned, but you don't ever get the email:
- Check your SPAM folder. Not there? Continue:
- In your contact form settings, enter an email address for the form to be sent to that does not use your domain - for example a gmail.com email address. If a test submit works when using this email address, continue:
- Go to Users and click on your profile, then change your password. Now check your admin email, including the spam folder, for the notification. This indicates WordPress is sending emails OK
- Verify your email provider has been set in your Envato Hosted account so WordPress knows where to send it. See How to Setup Email