Click here to Skip to main content
15,031,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i check the given mailid is correct or not in my project?

what i mean is ,i need to check the given mail id is real or not?how it is possible?

how gmail doing these type of checking.
Updated 16-Aug-11 18:13pm
"Given" -- by what? How can it be correct or not?

Use RegularEexpressionValidator[^].
Try \w+([_.]\w+)*@\w+([-]\w+)*\.\w+([-.]\w+)* expression, or modify it as per your constraints.
user Regular Expression Validator control in your project

see this link[^]

You cannot EVER tell if an address is 'valid' in terms of being real. You can use regex to see if it is well formed, as others have said. That's why sites send people a link to confirm, that's the only way to do it.

ASP and ASP.NET are two different things.

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900