Author: ghouse1982 | Posted on: 11/12/2008 6:04:43 AM | Views : 266

Hi there,

 I am facing a problem when I try to validate an email address entered by the user. Syntax validation is ok but when I try to check whether domain exists or not it is giving an exception that unable to connect to the domain specified. I will show u the code:

 string[] host = (txtEmailAddress1.Text.Split('@'));
string hostname = host[1];
IPHostEntry IPhst = Dns.Resolve(hostname);
IPEndPoint endPt = new IPEndPoint Go to the complete details ...