Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating email address?
Message
 
 
À
10/04/2012 08:51:44
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01540791
Message ID:
01540794
Vues:
39
>>Is it possible to validate email address such that only emails that have a certain domain are allowed. For example, that only "yahoo.com" emails are allowed. (e.g. name@yahoo.com, name2@yahoo.com). But emails like name@msn.com are rejected? TIA.
>
>If it is inside your application, just parsing would do it. You may enter a list of domains and filter them out, or in your case, validate them against your validation rules.

Yes, this is within my application. Doing it "in code" my approach too. I just thought that maybe .NET already has a class that does it.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform