Archive for September 17th, 2009

C# Sharp IsValidEmail(email)

bool IsValidEmail(string email)
{
try {
var addr = new System.Net.Mail.MailAddress(email);
return true;
}
catch {
return false;
}
}

, ,

No Comments