Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Hi, there,

    I’m just another user, like you, but I have a couple ideas that may or may not help, just from experience using CF7 over the past couple years.

    The first thing I’d double-check, if you haven’t already done this, since I remember having this issue when I first started using CF7:

    Make sure your “From” and “Additional Headers” are set correctly:

    “From” should be an email address associated with your website, i.e. [email protected]. This is the address that the form is sent from (so it needs to come from your site, not your sender’s email address). I think many people think the “From” field should be the sender’s email address, but that’s not right.

    Then, under “Additional Headers,” set that to reply to the sender’s address — Reply-To: [your-email]

    ***

    If that’s not the issue, are you perhaps using reCAPTCHA? There are various threads on here in which people discuss issues/solutions/workarounds.

    Hope you get it figured out!

    That’s great that you got it working! You’re welcome. Glad I was able to help! πŸ™‚

    Hmmm, judging from the Messages tab in CF7 on my own website, it appears that’s the default message for when a validation error occurs. Something might be amiss in your form setup, or possibly a conflict with another plug-in. Found this just now:

    https://ww.wp.xz.cn/support/topic/validation-errors-occurred-please-confirm-the-fields-and-submit-it-again-10/

    Could it be something like that?

    Yep, that’s pretty much the same thing as a lot of us.

    I use the same setup as you: CF7 and Flamingo.

    I’ve had the best luck doing the following:

    1. Remove Google reCAPTCHA keys from CF7
    2. Search for and install the plug-in, “Advanced noCaptcha & invisible Captcha”
    3. In the new plug-in’s settings, select V3 and insert your V3 Google keys
    4. At the bottom of your CF7 form(s), add the shortcode [anr_nocaptcha g-recaptcha-response] right before the [submit “Send”].

    It’s a workaround, but it seems to work!

    Good luck!

    Depends on your cache settings and the last time the site cache was cleared, but I would say it’s definitely one possibility.

    For example, some cache settings specify a duration of 1 year, so if you’ve only been using reCAPTCHA v3 for a few months, your users might still be viewing an older, cached version, if they were using your form prior to the update and haven’t cleared their own browser cache/history in a while.

    I would say clear the cache of that page, at least, as a starting point, just to rule out user settings issues and to make sure everyone is being served the updated version.

    **Note: if it turns out that your clients for whom the form was working were the ones viewing a cached version, clearing the cache may make it not work for them, so take my advice with a grain of salt. If this happens, though, then you can rule out user settings and narrow it down to something with CF7 and reCAPTCHA v3 on your site. There are tons of threads in these forums about this with various solutions/workarounds. Good luck!!**

    Looking at the code on the link that @buzztone provided, it appears that ID or class styles get applied to the shortcode via a separate “id” or “class” label — note the usage at the end of the shortcode below.

    [text text-123 id:very-special-field]

    … I’m wondering, did you add your class to the shortcode? I’m guessing it would be something like…

    Qty: [select MAIL-TAG-2 first_as_label β€œβ€”β€ β€œ10-19” β€œ20-49” β€œ50-99” β€œ100-499” β€œ500+” class:MAIL-TAG-2]

    Just a guess.

    Good luck!

    I’m just another user like you, so this is just a guess, but based on the fact that for some it works, and for one it doesn’t, my guess is that it could be a browser cache thing. Either the clients for whom it’s working or the client for whom it isn’t working may be viewing a cached version. I’d suggest clearing the site cache and/or getting your clients to clear their browser cache/history and find out if that gets everyone on the same page.

    If, after that, it starts working for that one client, all good. If, instead, it stops working for the other clients after that, then you have some other troubleshooting ahead of you, but at least everyone is on the same page then.

    Hmm, that seems to be the correct format for your FROM field, and should make the form come from that address.

    Do you have anything else that may be changing this in the “Additional Settings” tab? For example, the Flamingo plug-in, with custom settings there that may be setting the email address after CF7 gets done handling it…?

    I found this video tutorial just now during a search for Contact Form 7 and Vtiger:

    Perhaps that will work?

    Looks like the plug-in being used in that video to map CF7 form fields to Vtiger is https://ww.wp.xz.cn/plugins/wp-leads-builder-any-crm/

    Hopefully someone else has some other suggestions for you, if that doesn’t work.

    Good luck!

    I don’t know about vtiger, but one thing I notice:

    As I understand it, the recipient’s email address should not be used in the “From” field. Instead, add it to the “Additional Headers” field, as such:

    Reply-To: [email]

    The form is submitted FROM your website, so the FROM email address should be associated with your website ([email protected] is a typical email address for this purpose) for authentication purposes — that’s just how CF7 works.

    See the following CF7 “best practices” page: https://contactform7.com/best-practice-to-set-up-mail/

    I think you can continue to use [first-name] [last-name] to identify the sender’s name in the from field, but their email address should go in the “Additional Headers” field, not the “From” field.

    Perhaps you could also set the “Additional Headers” field to:

    Reply-To: [first-name] [last-name] <[email]>

    ***

    What I do:

    From
    My Company Name <[email protected]>

    Additional Headers
    Reply-to: [your-email]

    Message Body
    From: [first-name] [last-name] <[your-email]>
    Subject: My Custom Subject Line
    etc.

    @songtrain, I suspect your CF7 Simple Recaptcha is outdated. According to the plug-in details, it was last updated 6 months ago and tested with CF7 5.1 and WordPress 5.1.1. You’ve mentioned you’re using CF7 5.1.3. My guess is the plug-in is not working correctly since the latest CF7 updates.

    But there is also an issue that others, including myself, have posted about, in regards to the latest updates to CF7 and reCAPTCHA integration — basically everything is being automatically flagged as spam, which is one thing that triggers the error message you specified. You can test this by viewing the color of the error message (if it’s orange, it’s a spam thing; if it’s red, it’s something else) and/or by changing the error message text for messages that are identified as spam (go into the Messages tab and change the default text for spam messages to something else — I’ve never understood why the default spam error message was the same as the generic “failed to send” message).

    Here is what worked for me, copied/pasted from a topic I started on these forums:

    For now, I found another solution that seems to have worked, after further feedback from my web host:

    They linked me this thread (https://ww.wp.xz.cn/support/topic/3-spam-fixes-contact-form-7-v5-1/), and I applied fix #2, which involved removing my reCAPTCHA keys from CF7, adding the β€œAdvanced noCaptcha & Invisible Captcha (v2 & v3)” plug-in to my site, and pasting in the shortcode from the new plug-in into my form.

    In addition, my host also suggested I use an SMTP plug-in, to send mail via SMTP instead of WP Mail. I use the plug-in, “WP Mail SMTP” (https://ww.wp.xz.cn/plugins/wp-mail-smtp/).

    So, both of those combined may help.

    If you do replace CF7 Simple Recaptcha with Advanced noCaptcha & Invisible Captcha (v2 & v3), you’ll want to remove your reCAPTCHA keys from CF7 and insert them into the new reCAPTCHA plug-in instead.

    Regarding your Form Tab and Email Tab settings, I see a couple potential issues:

    1. In the Form Tab, your text fields are ending in an unusual manner, to me. Maybe it’s a localization thing, but typically a <p> ends with a </p>, not a <p /> (<br /> is correct, though).

    2. In your Email Tab:
    Von (From) [your-name] [your-email] <[email protected]>

    You’ve basically got two different email addresses there: [your-email] and <[email protected]>. I think that’s probably one of the main issues. I suggest removing the [your-email] shortcode from the “From” field and putting it in the “Additional Headers” field instead (set the “Additional Headers” field to: Reply-To: [your-email]). This is because of the way the From field works. As I understand it, since the form submission comes from your website, the email address in the “From” field needs to end in your website’s URL, like you’ve done with <[email protected]>, and not the recipient’s. So, then, you use the recipient’s email address as the “Reply-To” email. What you’ll see when you receive the notification from CF7 in your inbox is an email coming from your “info” email address, but when you reply to the message, it’ll go to the recipient’s email address.

    Hope this helps, and good luck!

    • This reply was modified 6 years, 11 months ago by Brian J. Schmidt. Reason: Added a missing word (grammar)
    • This reply was modified 6 years, 11 months ago by Brian J. Schmidt. Reason: Typo

    I don’t see the reCAPTCHA badge. Did you add your keys correctly, or are you hiding the badge?

    There are several threads about this issue. Perhaps one will help. Here is one I started and have since resolved via a workaround:

    https://ww.wp.xz.cn/support/topic/5-1-3-automatically-flags-as-spam-rolling-back-to-5-1-2-works/

    My solution in there was two-fold:

    1. Install an SMTP plugin and use that to have forms submit via SMTP instead of WP Mail.

    2. Follow fix #2 on this page — https://ww.wp.xz.cn/support/topic/3-spam-fixes-contact-form-7-v5-1/ — which involves removing reCAPTCHA keys from CF7, installing the β€œAdvanced noCaptcha & Invisible Captcha (v2 & v3)” plug-in (add your reCAPTCHA keys to this plug-in), and pasting in the shortcode from the new plug-in into the CF7 form before the Submit button.

    Good luck!

    Thread Starter Brian J. Schmidt

    (@bjsdesignstudio)

    I know they were flagged as spam because I changed the default spam message to use custom wording.

    With the default settings, two of the messages are exactly the same:

    1. Sender’s message failed to send:
    There was an error trying to send your message. Please try again later.

    2. Submission was referred to as spam
    There was an error trying to send your message. Please try again later.

    So, you can see, the default spam message is super unhelpful. It’s exactly the same as the generic “failed to send” message. So, change it! πŸ˜‰

    On my site, I changed that spam message to:
    Your message was automatically flagged as spam. I’m looking into this and will apply a fix as soon as possible. In the meantime, please call me at (XXX) XXX-XXXX. Thank you for your patience!

    Do this in the “Messages” tab of CF7.

    Thread Starter Brian J. Schmidt

    (@bjsdesignstudio)

    Oh, neat, I may check that out, as well. I do use some caching/optimization plug-ins, as well (WP Fastest Cache, Autoptimize), and I exclude the reCAPTCHA API from within Autoptimize, as I learned via a different forum a while back, but perhaps I need to exclude the contact page, as well.

    For now, I found another solution that seems to have worked, after further feedback from my web host:

    They linked me this thread (https://ww.wp.xz.cn/support/topic/3-spam-fixes-contact-form-7-v5-1/), and I applied fix #2, which involved removing my reCAPTCHA keys from CF7, adding the “Advanced noCaptcha & Invisible Captcha (v2 & v3)” plug-in to my site, and pasting in the shortcode from the new plug-in into my form.

    Brian J. Schmidt

    (@bjsdesignstudio)

    @allan1978 is correct.

    It took me a while to figure that out, too, but let me see if I can help explain/clarify, as I understand it, myself:

    That’s not quite exactly how that “From” field works. The form sends *from your website*, not directly from someone’s personal email address, so the FROM field refers to where the FORM comes from. In this sense, since the form is being submitted from your website, the plug-in looks for an email address associated with your website.

    What I do is set that FROM field to:

    My Company Name <[email protected]>, so in my case I use BJS Design Studio <[email protected]>

    (obviously, replace the name and email address with what works for you).

    Then, you set the “Reply-to” field as Allan mentioned above: [your-email]. When you REPLY to the form submission, the reply will go to the sender’s email address, as they entered it.

    I could be wrong on some of this, but that’s how I’ve come to understand it, and it’s been working great!

Viewing 15 replies - 1 through 15 (of 24 total)