• Hi, I discovered today that my contact forms would not submit, and they had the error “Failed to send your message. Please try later or contact the administrator by another method.” surrounded by orange border-line.

    I did a lot of testing and found that the form worked fine and sent email if I removed the [recaptcha].

    This is strange because there is no error from the reCAPTCHA. I put a checkmark in the box with no problem, however the form never submits and has the error.

    I looked at my reCAPTCHA account and nothing strange shows there. There are successful captchas about once per day all the way through yesterday. I even deleted the reCAPTCHA and created a new one with new site key and secret key with no change.

    However I see that there are no saved contact form submissions in my Contact Form DB for the last 10 days. We did have some server adjustments then so maybe something related to that caused a problem? I don’t know what though.

    This is very strange. I have the Check Email plugin and it can send mail fine. I removed the [recaptcha] from the Contact Form, and it functions properly. However the reCAPTCHA seems to work fine. reCAPTCHA shows correct recaptchas every day through yesterday. But Contact Form DB shows no saved submissions in the last 10 days (until I removed [recaptcha] from my forms).

    I have updated Contact Form 7 as well.

    Do you have any ideas? Thanks for any help!

    In my troubleshooting, I have read through these already-
    https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/
    https://kb.cf7skins.com/contact-form-7-email-issues/
    https://contactform7.com/best-practice-to-set-up-mail/
    and some other forum threads here.

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

    (@takayukister)

    Thread Starter HikingMike

    (@hikingmike)

    Thanks for your reply. Yes, I have read that and that is the method I use for reCAPTCHA. I have the error “Failed to send your message. Please try later or contact the administrator by another method.” surrounded by orange border-line when I use reCAPTCHA in my form. If I don’t include reCAPTCHA, then it submits successfully. The reCAPTCHA usage seems normal – I check the box.

    I’m having a similar issue.

    Using the default form ‘contact form 1’ it works fine and send the e-mail like it should. However, when adding the recaptcha form-tag to the form, the first 3 fields (name, email, subject) become locked and you can’t fill them in.

    The reCAPTCHA itself works ok.

    How to fix that please?

    I had the exact same issue and was banging my head to the keyboard for a while. With captcha added to the form it didn’t submit it and when I removed the captcha it worked just fine.

    In the settings I had the same email address in the recipient and sender fields and with captcha I got this response to console:
    {“mailSent”:false,”into”:”#wpcf7-f12-p10-o1″,”captcha”:null,”message”:”Failed to send your message. Please try later.”,”spam”:true
    }

    I guess it couldn’t, for some mystical reason, validate the captcha when those fields had the same value. I changed the sender to “[your-name] <[email protected]>” (this address doesn’t even exist) and now it works.

    Hope this helps you too. If not, have you checked this:
    https://contactform7.com/configuration-errors/#mail.sender:error_email_not_in_site_domain

    • This reply was modified 8 years, 3 months ago by mmoovs. Reason: Added link

    I’m still having this issue.

    The reCAPTCHA widget works fine but I can’t fill in the text form fields and it seems like they are locked.

    Any help would be much appreciated.

    Thread Starter HikingMike

    (@hikingmike)

    Well, thanks for that reply mmoovs, but that didn’t work for me. I did have the same email address in the “To” and “From” fields, so I changed one and tested, but I still have the same error. I also tried removing my additional header for “Reply-to” with no change. I also tried removing my additional settings which was code for a Google Analytics event, and no change.

    The response content I have is similar to what you had-
    {“mailSent”:false,”into”:”#wpcf7-f1701-o1″,”captcha”:null,”message”:”Failed to send your message. Please
    try later or contact the administrator by another method.”,”spam”:true}

    I enabled Firebug while doing this but did not see any Javascript errors or anything interesting.

    This is still a problem for me. Again, this problem only occurs when a [recaptcha] is placed in the form and used.

    By the way, augustodelucena, my input fields are not readonly or disabled. I can type text in just fine in my situation.

    Did anyone find a solution to this? I’m having a similar problem and can’t find out why.

    • This reply was modified 7 years, 10 months ago by raiana.
    Thread Starter HikingMike

    (@hikingmike)

    Not me. I’m still going without it, and with a different captcha in some places. But I’d like to try again if I get some time.

    Thread Starter HikingMike

    (@hikingmike)

    I tried again to use reCAPTCHA within Contact Form 7 (in one of my forms), but it caused the error still “Failed to send your message. Please try later or contact the administrator by another method.” with orange rectangle border.

    Then I also tried the Invisible reCAPTCHA plugin and enabled it for Contact Form 7 forms (and removed the previous reCAPTCHA from the form), and that gave me the same problem.

    Finally I coded a test for reCAPTCHA V2 myself and it worked! I started with code similar to this – https://codeforgeek.com/2014/12/google-recaptcha-tutorial/ , but with my own form and modified for my purpose.

    It would still be best if it worked within Contact Form 7, but I don’t know what the problem is. Maybe I can put more time into it later to investigate. Any suggestions on troubleshooting are welcomed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error submitting form, with reCAPTCHA only’ is closed to new replies.