Contact me if you'd
like to advertise
in this prime spot
 CoverYourASP --> Validate email addresses

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
91 active users
3319 visitors today
4885 pages today
how is this done?
Tools I use

CoverYourASP
Copyright © 1999-2009 James Shaw.
All rights reserved.

ASP.NET Blog
RSS submissions
E-commerce

Now open source with SourceForge!

There are a lot of them out there...

I get a lot of feedback from "sdsd" at email address "asdsd".

He also signs up to my newsletter several times a day.

He sends "Tell-a-friend" emails to his pals at "dsadd" fairly regularly.

If you provide any sort of email functionality on your site he'll visit your site too!

Step 1: Simple validation

There are many articles, from very simple to extremely complex, that show you how to make sure email addresses are valid. Remember that they are all just guessing.

Simple validation basically checks that there's one "@" and one ".". In extreme cases some even check for malformed IP addresses! This level of validation is called "syntax checking".

This page, and my email validation service, is powered by the top two leading validation components, Hexillion and ASPNetEmail.

If you are simply looking for a way to validate a batch of email addresses, please contact me with the size of your list and the level of validation you require (simple/DNS/SMTP) and I'll send you a quote.

Of course, our friends at "sdsds" will fail simple validation, so there are uses for this level of validation. But (and it's a big butt) in my experience there are many people who are more than willing to go the extra mile and enter "sdasd@asdasd.com" just for grins and giggles.

Let's try it. Enter an email address below. See how easy it is to fool!

Email:
 
Step 2: DNS validation

The first real step is to make sure that the domain actually exists. Finding an MX or A entry in the Domain Name System, or DNS, means that you're pretty sure that there's a mail server there eagerly awaiting your emails. This is a huge step towards ensuring the email address is valid!

Let's try the DNS validation. Enter an email address below - you should find this significantly harder to fool!

Email:
 
Step 3: SMTP validation

The DNS check will probably be enough in most cases - after all, if the domain exists that's more than half the battle. Typo's will be caught, and most jokers will give up at that.

However, "asdfqad@mindspring.com" will still be let through, regardless of whether it was mis-spelled or entered deliberately.

I still have one method left though, and this all but guarantees that the email is perfect. This method uses the SMTP protocol to contact the domain mailserver and actually ask if the user is valid!

A few small caveats - some mailservers don't effectively support this feature, and other domains have a "catch-all" email address so all mail is accepted. Of course the latter isn't really wrong since the whole point was to stop email being bounced.

Let's try the full blown test. Enter an email address below, and be patient - it can take awhile!

Email:
 

That's it! Whatever email validation method you want to use, from the <1 millisecond syntax check to the "up to 70 seconds" SMTP validation, there's a method here for you. Just think of all that junk mail you'll save yourself...

If you are simply looking for a way to validate a batch of email addresses, I provide that service. Please contact me with the size of your list and the level of validation you require (simple/DNS/SMTP) and I'll send you a quote.

Featured sponsor
My favorite resources

Tiki Statues - Tiki Masks - Tiki Totems



New Proposal Kit Professional 5.1
Brand yourself as a top professional: create quotes and amazing proposals and get many legal documents free!

The latter saved me 3 times the purchase price on the first day I owned it!


See my source code
wherever you see this icon...

You can also download the entire site source code for FREE!


Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!