Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0
Hi guys..
Thanks in advance
I have created jobPortal application in that While Employer Register in Register.aspx then How to check valid Email or not in,c#...
Please Let me know...
[edit]Spurious code block removed - OriginalGriff[/edit]
Posted 10-Nov-12 4:52am
Edited 10-Nov-12 5:17am
ProgramFOX at 10-Nov-12 10:58am
Please don't repost questions.
Nelek at 10-Nov-12 10:59am

1 solution

Rate this: bad
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:
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
0 Sergey Alexandrovich Kryukov 428
1 CHill60 310
2 BillWoodruff 183
3 DamithSL 163
4 OriginalGriff 163

Advertise | Privacy | Mobile
Web04 | 2.8.141022.1 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2014
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