Sunday, May 18, 2008

Email Validation C#

There are three levels of validating an email address:
  1. Syntax Validation: Does it have an @ sign and at least one full stop, are the left and right hand sides of the @ valid, searching the internet will give you all the things an email address must have.
  2. Resolve the Domain: You will need to do a DNS MX lookup, there is a nice C# dll on the internet should be easy to find.
  3. Use a Socket: Actually go through the process of sending an email and then stop just before issuing the .quit command.

No comments:

Check This Out!

More Links to Good Information