I recently had an issue with a new WordPress install, where the Contact Form wasn’t sending correctly, instead hitting the Submit button would simply show the Spinning arrows animation, with no Mail Sent.
I was also using the Really Simple CAPTCHA plugin, which may have had a bearing on the issue too.
After doing some digging around I found a couple of forum posts which helped;
Combining these two gave me a solution which worked;
- Set the Permissions of the “wp-content/uploads” directory to 777
- Open the “p-content/plugin/really-simple-captcha/really-simple-captcha.php”
/* Image type. 'png', 'gif' or 'jpeg' */ $this->img_type = 'png'; /* Mode of temporary image files */ $this->file_mode = 0444; /* Mode of temporary answer text files */ $this->answer_file_mode = 0440;
/* Image type. 'png', 'gif' or 'jpeg' */ $this->img_type = 'png'; /* Mode of temporary image files */ $this->file_mode = 0777; /* Mode of temporary answer text files */ $this->answer_file_mode = 0770;
- Install the “WP-Mail-SMTP” plugin and configure it to use your website’s email address smtp settings etc
- Modify your Contact-Form-7 Contact Form settings;
Where you should replace “[email protected]” with the email address you have configured in the “WP-Mail-SMTP” plugin.
Adding the Additional Headers, allows you to still reply to the original sender.