• Resolved gieger

    (@gieger)


    I am getting this error when attempting to submit my form:
    “There was an error trying to send your message. Please try again later”.

    So far, I have tried all these things and nothing has worked:
    – Disabled all plugins
    – Disabled all plugins + changed the theme from Enfold back to the default theme
    – Changed the PHP version from 7.4 to 7.3 to 7.2 to 7.1 to 7 to 5.6
    – Removed the ‘Redirecting’ action.
    – Changed the ‘From’ email address and the ‘To’ email address.
    – Changed the reCAPTCHA from v3 to each option of v2.
    – Removed the reCAPTCHA.
    – Recreated the whole form.

    I see the following errors in the console inspector but I don’t know if they’re related to my issue but the reCAPTCHA error is why I tried changing and removing it:

    [Error] Failed to load resource: the server responded with a status of 400 () (api.js, line 0)

    [Error] Refused to execute https://www.google.com/recaptcha/api.js?render=6LePpp0aAAAAAMwPDacwMNRFyzitr6bH0BjG9ElR&ver=3.0 as script because “X-Content-Type-Options: nosniff” was given and its Content-Type is not a script MIME type.

    [Error] ReferenceError: Can’t find variable: grecaptcha
    (anonymous function) (index.js:1:2481)

    [Error] WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Unexpected response code: 403 (x165)

    • This topic was modified 3 years ago by gieger.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Mark

    (@markob17)

    @gieger Same happened to all 10 of my sites. Perhaps you are having same problem. Apache SpamAssassin broke mine and the same day I updated to latest WordPress Version (5.7). Perhaps latest WP changed the way it sends via wp_mail(). I haven’t confirmed (would need to downgrade back to previous WP version) but turning off “Scan outgoing messages for spam and reject based on the Apache SpamAssassin™ internal spam_score setting” resolved my Contact Form 7 sending. NOTE: I think it’s latest WordPress update (5.7) that broke it because my other plugins that use wp_mail() also stopped sending emails properly as well. Performing the above with SpamAssassin fixed those as well.

    Mark

    (@markob17)

    And by the way, if you don’t have a VPS and access to WHM, you won’t be able to change this setting. If so, you can use WP SMTP plugin and send emails that way, it too works as my only site that didn’t break sends via it. Either of those is your likely solution. Cheers!

    Thread Starter gieger

    (@gieger)

    @markob17,
    I think you’re onto something. I spent over an hour on a support call with my hosting company and they couldn’t resolve it.

    I even tried changing the SMTP settings to my own mail server and it still didn’t resolve it.

    I also tried WP SMTP and that didn’t work either.

    I will look at Apache SpamAssassin and report back.

    Thanks!

    Thread Starter gieger

    (@gieger)

    @markob17 @takayukister

    UPDATE:
    I used WPForms and it worked!
    So it has to be an issue with Contact Form 7 and something else that recently updated like the newest version of WP.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Error trying to send your message”’ is closed to new replies.