I have a client that has upgraded wordpress to 3.7.1. Contact Form 7 now reports all forms as SPAM. I have WP-Mail installed and all was working before. Any ideas on how to fix this. Does anyone know where in the plugin code the form is getting marked as spam
Thanks
Thanks. I used this to amend this.
Though the Contact Form 7 plugin successfully sends millions of emails every day, there are a host of issues that can stop or delay emails on both the sending and receiving ends. It depends entirely on your local Server & WordPress configuration.
You will need to investigate this issue for your particular local configuration. See Contact Form 7 Email Issues.
I think this issue happens when we use 3rd party service like sparkpost for sending email or something like that. I tried to check code base how cf7 check spam and found contact-form-7includes
then submission.php file, check the code near or search with keyword “spam()”
I think besides the wordpress core blacklist checking it also check the sender domain name and bla bla and mark any valid form submission as spam. So I made the spam checking commented.
This is not a permanent solution but it will help for now.
I was having the same problem this month and I managed to figure it out.
The default CONFIG -> DISCUSSION is applying the disallowed words list to the CF7 forms.
Try adding this code snippet to your theme functions.php file:
It worked for me.
If you use recaptcha make sure reCAPTCHAâs script file is loaded: https://contactform7.com/faq-about-recaptcha-v3/#response-token-is-empty