bool IsValidEmail(string email)
{
try {
var mail = new System.Net.Mail.MailAddress(email);
return true;
}
catch {
return false;
}
}
{
try {
var mail = new System.Net.Mail.MailAddress(email);
return true;
}
catch {
return false;
}
}
Blazor - ASP.NET Core
C#,MVC,ASP.Net Core,JQuery,SQL,Kendo UI,HTML,CSS,Bootstrap,Web API,Angular
0 Comments