How to neutralize SPAM e-mails in WordPress

Everything that makes email so convenient – free messages, quick delivery – also makes it susceptible to spam. With only a list of addresses, professional spammers can merrily bombard their victims with as many messages as they like, and they have a host of automated tools to help them expand their volume and slip past filters.

It’s time to fight back against the deluge. Here is the ultimate Contact Form 7 strategy for banishing spam and learning how to stop junk email for good.

.

reCAPTCHA (v3) by TAKAYUKI MIYOSHI

reCAPTCHA protects you against spam and other types of automated abuse. With Contact Form 7’s reCAPTCHA integration module, you can block abusive form submissions by spam bots.

Read more

1. Registering a site

To start using reCAPTCHA, you first need to register the WordPress site. reCAPTCHA is Google’s service so you need a Google account to use it. Sign in to Google with the account, and go to the My reCAPTCHA page. You will see a simple registration form like the following.

Choose reCAPTCHA v3 from type options, and enter the domain of the website in the Domains field.

2. Site key and secret key

After you register a website, you will get the site key and secret key for the site.

3. WordPress admin screen

Next, move to the WordPress admin screen and open the Contact > Integration menu page.

4. Setup Integration

You will see a box titled reCAPTCHA there. Click Setup Integration in the box. It will display input fields Site Key and Secret Key. Copy-paste the two keys you received in the previous step into the fields, and click Save Changes.

5. Final thoughts

That’s it. Now your contact forms use reCAPTCHA’s score to verify whether the form submission is from a human or from a spam bot.

reCAPTCHA v3 doesn’t need a CAPTCHA widget (the “I’m not a robot” checkbox used in reCAPTCHA v2) to work, so [recaptcha] form-tags are no longer necessary. If [recaptcha] form-tags are found in a form template, Contact Form 7 5.1 or higher ignores them and replaces them with an empty string.

*Bonus - Hide Recaptcha Badge

.grecaptcha-badge {
visibility: hidden;
}

More free WordPress tutorials

Great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure,

Great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure,

Great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure,