email address error message asp-validation-for code example
Example: asp.net data annotations email
[DataType(DataType.EmailAddress, ErrorMessage = "E-mail is not valid")]
[DataType(DataType.EmailAddress, ErrorMessage = "E-mail is not valid")]