Answers for "c# cvalidate email"

C#
4

c# cvalidate email

bool IsValidEmail(string email)
{
    try {
        var addr = new System.Net.Mail.MailAddress(email);
        return addr.Address == email;
    }
    catch {
        return false;
    }
}
Posted by: Guest on December-21-2019

Code answers related to "c# cvalidate email"

C# Answers by Framework

Browse Popular Code Answers by Language