public static bool IsValidEmailAddress(string address) { try { new MailAddress(address); return true; } catch (FormatException) { return false; } }