Sockets4Email is a full featured.NET component that can validate email addresses, but it goes far beyond checking the syntax of the email. Some of the great features of this email validation component:

  • Validate to the level required by your application
    Sockets4Email can validate email addresses at four different levels:
    1. Syntax - Verifies that the supplied email address conforms to valid email address format as defined by RFC822
    2. MX Records - Verifies that the supplied email address contains a domain name that has a listed MX record
    3. MX Responds - Verifies that the supplied email address contains a valid MX record and that at least one of the MX records responds to SMTP queries
    4. Mailbox Exists - Verifies that mail will be received by the destination host.
  • Fail Over DNS Servers
    Sockets4Email can use multiple DNS servers if one becomes unavailable
  • DNS/MX cache
    Sockets4Email caches all MX lookups to avoid additional costly network traffic
  • Known and Accepting Domains
    Sockets4Email contains a built in list of domain names that are known to exist as well as a list of domain names that always accept mail. Sockets4Email will skip MX lookups for these domains and will not bother trying to validate mailboxes at them either because all mail is accepting to fool spammers. You can choose to not use this list, or you can add additional domains to the list.

How easy is it to validate that email will be received at its destination? Check out this code sample:

dim v as New EmailValidator()
dim l as ValidationLevel
l = v.Validate("bill@microsoft.com", ValidationLevel.MailboxExists)

Try it yourself! See our Online Demo.