Click here to Skip to main content
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 4:52am
Edited 10-Nov-12 5: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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Guruprasad.K.Basavaraju 450
1 Sergey Alexandrovich Kryukov 370
2 Shai Vashdi 318
3 OriginalGriff 265
4 Peter Leow 171
0 Sergey Alexandrovich Kryukov 9,109
1 OriginalGriff 5,290
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid