private bool IsValid(string emailaddress) { try { System.Net.Mail.MailAddress m = new System.Net.Mail.MailAddress(emailaddress); return true; } catch (FormatException) { return false; } }