• Resolved phendyr

    (@phendyr)


    Like a lot of people I’m experiencing the ‘failed to send’ error on every site I manage that uses CF7. I have gone through the troubleshooting guides and made the recommended adjustments but it still fails.

    Installing WP Mail SMTP submits a successful test email using the PHP method only, but when set to use that option, CF7 still fails. When trying the SMTP method, it fails to authenticate, even though the username, password and smtp host are correct.

    Not exactly sure what next steps can be taken? Any advice is appreciated.

    https://wordpress.org/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
  • When trying the SMTP method, it fails to authenticate, even though the username, password and smtp host are correct.

    There is almost certainly something wrong in your SMTP setup.

    I’d recommend you install Postman SMTP Mailer/Email Log which includes excellent email debugging.

    Thread Starter phendyr

    (@phendyr)

    The issue that plagued our site, one which I have not seen mentioned on other threads, was an issue with the php.ini file that was directing the site to process email differently, and conflicting with the plugin.

    The solution that worked for me, was to disable the php.ini file and force the site to use the default php.ini file that is stored elsewhere on the server (per the hosting provider’s feedback).

    Once doing that, the plugin and forms worked successfully again. Hope it helps someone else!

    The solution that worked for me, was to disable the php.ini file and force the site to use the default php.ini file that is stored elsewhere on the server (per the hosting provider’s feedback).

    Phendyr, can you please explain more details about each phop.ini file locations. My smtp seems to be validating fine. I wouldn’t mind checking out this method.

    Thread Starter phendyr

    (@phendyr)

    The root level of a shared hosting environment, was where the php.ini file I modified was located. I just renamed it php.ini.bak to disable it and things started functioning properly again.

    @mzsnugglez – I would recommend you not change your php.ini unless you are absolutely sure what you are doing and why you are doing it.

    phendyr dealt well a very, very specific problem on his server which could help others with this same very, very specific problem.

    This is not a “Method” that most others should be using.

    Thread Starter phendyr

    (@phendyr)

    @buzztone – I completely agree with that statement. In full disclosure, it was the hosting provider that evaluated the php.ini files, determined that the issue was with the file and made the change.

    Once it worked for the first one, I applied the same changes to a separate site. I admit I rode the lightning on that one and made the change, knowing I could replace the original php.ini if the change didn’t work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No Joy with CF7 – form submission fails’ is closed to new replies.