Contact Form 7 Email Validation Using DNS Verification | Contact Form 7 Tutorials Part 12
Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist
Contact Form 7 Email Validation Using DNS Verification | WP Learning Lab
Contact Form 7 validates the syntax of email addresses, but it doesn’t check to make sure the email address is associated with a real domain. The DNS verification plugin will do that. If you receive a lot of spam through your contact forms, this should help reduce it.
Luckily, the plugin used for to add this DNS validation functionality is one of the easiest plugins ever to setup. But we’ll get to that in a minute.
First, I have to explain something about Contact Form 7 email validation first.
Out of the box, Contact Form 7 will make sure that an email address has valid syntax. Meaning it has valid characters before and after the @ plus a top level domain (TLD) like .com, .org, or .net.
When those things are true, Contact Form 7 allows an email to be sent. The problem is, the email address could be none functional gibberish and CF7 will allow it as long as it has the correct syntax.
This means spammers can plug your inbox with their automated tools.
This plugin attempts to reduce that problem by verifying the domain name after the @ symbol is real, active domain name.
With this email validation step you’ll reduce spammers. However, they spammer could still create a fake email address, like firstname.lastname@example.org. Which is a valid email address in terms of syntax and google.com will check out in the DNS as a valid domain name. So DNS verification checks out too.
But, adding the email validation dns verification is better than not adding it.
Installing the plugin.
To install this plugin please log into your WordPress dashboard, hover over Plugins and then click on Add New.
On the next page type “Contact Form 7 email validation” into the search bar. The plugin we want should be the first one in the top left.
Click on the Install Now button and then click Activate after it’s installed.
Once it’s activated it’s automatically active on all your Contact Form 7 forms that collect email addresses.
Now if you type in an email address with a domain name that isn’t active it will return a DNS error and won’t submit the form.
This is great for keeping spam down, but won’t eliminate it.
If you use Contact Form 7 you’ll probably like these tutorials as well:
– Adding Contact Form 7 Hidden Fields With Dynamic Data – https://www.youtube.com/watch?v=m1Ja3jMbq1w
– Contact Form 7 Captcha – Google Recaptcha Add-on – https://www.youtube.com/watch?v=tI2ZAviQ8vY
– Contact Form 7 Skins To Change Style – No CSS required – https://www.youtube.com/watch?v=8uJku6xMzTg
– Contact Form 7 Tutorial – Create a 2-Column Responsive Form With Contact Form 7 – https://www.youtube.com/watch?v=snH6YwCHEoE
– Creating A Contact Form Using Contact Form 7 WordPress Plugin – Step-by-Step – https://www.youtube.com/watch?v=wy70WGCjMY4
I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.
If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.
Connect with us:
WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab
Google Plus: http://google.com/+Wplearninglab