C# Sharp IsValidEmail(email)


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

, ,

  1. No comments yet.
(will not be published)