Click here to Skip to main content
12,893,452 members (49,882 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# 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
Updated 10-Nov-12 5:17am
ProgramFOX 10-Nov-12 10:58am
Please don't repost questions.
Nelek 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:
santhosh1983 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2017
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