Validating email address in asp net
22-May-2020 19:51
The number of emails could be infinite, but I think the max will be 10 at most. After I sent my question out to this discussion board I got it working.However, you solution was a better and not as long as mine so I use it instead.Better use Reg Ex pattern pattern = "^([0-9a-z A-Z]([-\.\w]*[0-9a-z A-Z])*@([0-9a-z A-Z][-\w]*[0-9a-z A-Z]\.) [a-z A-Z])$"; if (Regex.According to the error message, as oned_gk say, you need a web.config key to enable the pre 4.5 validation mode.
The number of emails could be infinite, but I think the max will be 10 at most.
Actually, if you are a beginner in Technology might be you are thinking that registration form is not easy to create.
But don't worry if you follow the given step, it will be very easy to create form.
Obviously there are expressions that you could use to determine if the format of an e-mail address is valid but you can also use the System.
Mail Address class to check if an exception occurs when creating the e-mail to determine if it is a valid or not : I suppose it depends on how you are currently sending it, but you might consider checking out this related Stack Overflow discussion along with this one which covers a few different techniques to try and check if your message was sent ().More Info on Validation Settings: Unobtrusive Validation Mode, For this problem, you could refer to the following links.