Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Input Box and Label Null Value? Pin
Mazdak13-Feb-04 20:18
Mazdak13-Feb-04 20:18 
GeneralA child-parent problem... Pin
cemlouis13-Feb-04 13:26
cemlouis13-Feb-04 13:26 
GeneralRe: A child-parent problem... Pin
Bill Dean13-Feb-04 15:39
Bill Dean13-Feb-04 15:39 
GeneralRe: A child-parent problem... Pin
Kentamanos13-Feb-04 15:55
Kentamanos13-Feb-04 15:55 
GeneralRe: A child-parent problem... Pin
cemlouis14-Feb-04 2:08
cemlouis14-Feb-04 2:08 
GeneralE-mail Validation to clean-up mailing lists Pin
blakeb_113-Feb-04 11:09
blakeb_113-Feb-04 11:09 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Kentamanos13-Feb-04 12:00
Kentamanos13-Feb-04 12:00 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Heath Stewart13-Feb-04 12:48
protectorHeath Stewart13-Feb-04 12:48 
You can validate the actual email address string. There is an RFC that defines valid addresses. The regex string below is the most common:
^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$
As far as validating the MX records, the other poster was correct that it's not 100% effective, but it's at least worth a shot (while you may get false positives, you will get correct rejections). See http://www.codeproject.com/aspnet/emailvalidator.asp[^] for a good article on MX validation, although there are others. Just try this search[^] (watch the ratings to filter the bad ones).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Kentamanos13-Feb-04 13:11
Kentamanos13-Feb-04 13:11 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
blakeb_116-Feb-04 11:18
blakeb_116-Feb-04 11:18 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Heath Stewart16-Feb-04 11:34
protectorHeath Stewart16-Feb-04 11:34 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Troy G14-Feb-04 7:34
Troy G14-Feb-04 7:34 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
blakeb_116-Feb-04 8:05
blakeb_116-Feb-04 8:05 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
blakeb_116-Feb-04 9:22
blakeb_116-Feb-04 9:22 
GeneralRe: E-mail Validation to clean-up mailing lists Pin
Member 187126812-Oct-05 18:12
Member 187126812-Oct-05 18:12 
QuestionTransparency killed by task mgr? Pin
Joe Pardue13-Feb-04 10:24
Joe Pardue13-Feb-04 10:24 
AnswerRe: Transparency killed by task mgr? Pin
leppie13-Feb-04 19:08
leppie13-Feb-04 19:08 
GeneralRe: Transparency killed by task mgr? Pin
joepardue14-Feb-04 5:57
joepardue14-Feb-04 5:57 
GeneralInherited form validation issues Pin
RB@Emphasys13-Feb-04 10:23
RB@Emphasys13-Feb-04 10:23 
GeneralRe: Inherited form validation issues Pin
leppie14-Feb-04 19:57
leppie14-Feb-04 19:57 
QuestionNo private virtual methods? Pin
Nemanja Trifunovic13-Feb-04 10:04
Nemanja Trifunovic13-Feb-04 10:04 
AnswerRe: No private virtual methods? Pin
Kentamanos13-Feb-04 10:56
Kentamanos13-Feb-04 10:56 
AnswerRe: No private virtual methods? Pin
Heath Stewart13-Feb-04 12:08
protectorHeath Stewart13-Feb-04 12:08 
GeneralRe: No private virtual methods? Pin
Nemanja Trifunovic13-Feb-04 12:37
Nemanja Trifunovic13-Feb-04 12:37 
GeneralRe: No private virtual methods? Pin
Heath Stewart13-Feb-04 12:41
protectorHeath Stewart13-Feb-04 12:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.