Click here to Skip to main content
11,435,048 members (49,238 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hi guys..
Thanks in advance
I have created jobPortal application in asp.net.In that While Employer Register in Register.aspx then How to check valid Email or not in asp.net,c#...

Please Let me know...

[edit]Spurious code block removed - OriginalGriff[/edit]
Posted 10-Nov-12 5:52am
Edited 10-Nov-12 6:17am
v2
Comments
ProgramFOX at 10-Nov-12 10:58am
   
Please don't repost questions.
Nelek at 10-Nov-12 10:59am
   

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can't check that an email is valid in any way other than by sending an email to it and getting a reply. You can check it fits the criteria of an email address - text@tothertext.domain - but that does not in any way validate the email.

This is one of the reasons that registrations frequently use a "confirmation link" email - if the address is valid and working (at the time of the receipt) then the user cannot complete registration, and thus can't log in.

But be aware that I can think of two websites providing "throw-away" email addresses for just this purpose, and there are probably many, many more. Just because an email address woprked once, does not mean it will work again! Laugh | :laugh:
  Permalink  
Comments
santhosh1983 at 10-Nov-12 11:26am
   
Thanks a lot

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100