The Forgotten Art of Email Address Verification
page 4 of 5
by Joshua Finer
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 24243/ 41

3. MX Domain Level Validation
This email validation is currently the highest practical level. It is not 100% foolproof, but is a marked improvement over any lower form of validation. This level guarantees that the domain name of the email address is not only registered, but also that it is a live Internet host that can actually receive email. This is generally considered as the base practical level of email validation. This level of validation can be easily implemented via a developer component. Similar to #2, you must first install the component package on the server. After referencing the DLL, you might use code such as:
	set MXValidate = Server.CreateObject("CompanyABC.Emailvalidate")
	emailaddress = Request.Form("emailaddress")
	MXValidate.serveraddresses = "XXX.XXX.XXX.XXX","XXX.XXX.XXX.XXX" '(backup DNS)
	MXValidate.ValidateIt(emailaddress,resultcode)
	If resultcode = False Then
		Response.Redirect("badaddress.html")
	Else
		<continue form processing>
	End If

View Entire Article

User Comments

Title: Finding, Verifying and Correcting Bad Format email addresses   
Name: GeakeIT
Date: 2010-11-22 6:55:59 AM
Comment:
I wrote a script a while ago that finds bad formats and human errors, then corrects them too.

Basically it cross references domains that have email opens recorded against them and corrects several human errors. So homail(missing character)/htomail(swapped character)/jotmail(close proximity keyboard button) are all corrected.

Details are too long to write here really so have a look at this link...

http://www.geakeit.co.uk/2010/07/30/the-ultimate-database-email-address-validatingprocessingcorrecting-script/
Title: Owsem.....   
Name: chanchal
Date: 2009-10-14 5:29:21 AM
Comment:
This article could be more easier if ther is snippet.But isnt mean its bad its fine .
Rocks.........
Title: Great & Help Full   
Name: Atul Khandelwal
Date: 2007-03-28 3:09:57 AM
Comment:
This is surely a good article but you could have atleast explained the last header width a snippet
this articla is really good and help full
Title: great   
Name: Manmeet
Date: 2006-08-04 7:40:50 PM
Comment:
The article is really very good
Title: Good   
Name: Gaurav
Date: 2006-06-10 2:36:39 AM
Comment:
This is surely a good article but you could have atleast explained the last header width a snippet
Title: thanks for the info!!   
Name: BH
Date: 2006-05-07 11:00:55 AM
Comment:
thanks!

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-20 11:50:10 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search