Click or drag to resize
High Performance Features

Some of the high performance features and techniques of Email Validator.



Validating email addresses to the Mailbox level can be a time intensive process. It is not unusual to encounter slow or non-responsive DNS servers, along with slow or non-responsive SMTP servers, resulting in a single email address validation to take 60 seconds or even longer. Because most of this time intensive process is outside of Email Validator's control, we've built Email Validator with these hurdles in mind.

Win Forms and ASP.Net support

Email Validator allows you to validate email addresses and MX Records, from any .NET application. Email Validator can be used from ASP.NET web pages, windows forms, web services. Use of Email Validator is only limited by a programmer's capabilities.

Invalid email detection syntax validation

Email Validation first checks syntax of email address before actually checking with SMTP server and mailbox.

Fail Over DNS Servers

Email Validator has the capability to fail over to responding DNS servers. By default Email Validator checks your system for your primary DNS server. As a benefit, you can specify specific DNS Servers in the form string. Email Validator will attempt to connect, once a successful connection is made, and then use the DNS Server for the remainder of the Email Validator session.

High Performance Internal MX Cache

Email Validator has a built-in high performance internal cache that stores previously looked-up MX Records. For example, once the MX Records for hotmail.com have been determined, Email Validator no longer makes the expensive DNS Queries again, to determine those records. Instead, when the 2nd email address is encountered, that belongs to hotmail.com, Email Validator checks its internal cache to see if the records are there, and then uses those records. By default the Email Validator cache is set to time out every 30 minutes, however, this time can be set by the programmer.

Bad Email Address Internal List

How many times have you seen the email address 'test@test.com' or 'a@a.com' or 'asdf@asdf.com' entered into your address list? While all of these addresses are technically valid, they are probably not too useful to you or your list. Email Validator provides the capability to add these addresses to a 'Bad Address' list, and every time they are encountered, Email Validator automatically fails them. Here are two easy code samples to achieve this functionality:

[C#]



EmailAddressValidator ev = new EmailAddressValidator();

//build the list of known bad email addresses,
string BadEmails = "test@test.com;a@a.com;asdf@asdf.com";

string[] strMailBoxDomains = BadEmails.Split(';');
foreach(string s in strMailBoxDomains )
ev.BadEmailAddresses.Add(s);

[Visual Basic]



Dim ev As New EmailAddressValidator ()

'build the list of known bad email addresses,
Dim BadEmails As String = ""test@test.com;a@a.com;asdf@asdf.com"

string[] strMailBoxDomains = BadEmails.Split(';');
foreach string s in strMailBoxDomains)
ev.BadEmailAddresses.Add(s);

Mailbox Domains

There are a number of domains that always return positive mailbox verification. Microsoft's Exchange server is known to do this. To prevent email address harvesting, some mail servers will always claim a mailbox for an email address exists, when in fact, none does. Some of these domains include "aol.com;yahoo.com;bigfoot.com;msn.com;compuserve.com;altavista.com;microsoft.com;netzero.net"*.

To prevent time-intensive network calls from happening on those domains, Email Validator has the capability to add them and prevent these network calls from being made. Here are two easy code snippets to take advantage of these known mailbox domains.

[C#]



EmailAddressValidator ev = new EmailAddressValidator();

//build the list of Mailbox domains,
string MailBox = "test.com;a.com;asdf.com";

string[] strMailBoxDomains = MailBox .Split(';');foreach(string s in strMailBoxDomains )
ev.MailBoxDomains.Add(s);

[Visual Basic]



Dim ev As New EmailAddressValidator ()

'build the list of Mailbox domains,
Dim MailBox As String = ""ttest.com;a.com;asdf.com"

string[] strMailBoxDomains = MailBox .Split(';');
foreach string s in strMailBoxDomains)
ev.MailBoxDomains.Add(s);

Comma Separated Validation

Email Validator now has the capability to parse and validate comma separated email addresses. Along with our synchronous methods, Email Validator has the capability to perform validation asynchronously. Comma separated validation works with event handler to

Event Handler

Get even better control with your application with the new event in Email Validator. Some of these events include the EmailValidationCompleteEvent event.

The new EmailValidationCompleteEvent allows you to inspect the Validation result, one by one, so you can exactly see which an email address is rejected during comma separated validation
See Also