Click here to Skip to main content
15,885,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my sign up form have email option how to put check on email that field the entered email is valid or not like if some one write abc@xyz.com, qwertyzxczx@gmail.com which is invalid will get error email is not valid if write valid email which is have available on server show valid email.
Posted
Updated 19-Oct-15 0:49am
v2
Comments
Maciej Los 19-Oct-15 6:50am    
Why do you state that abc@xyz.com, qwertyzxczx@gmail.com emails are invalid?
phil.o 19-Oct-15 8:32am    
I think he is meaning that abc@xyz.com, qwertyzxczx@gmail.com is not valid as a single e-mail address. :)
Maciej Los 19-Oct-15 9:18am    
It's quite possible...
Crushe 11-May-16 5:43am    
This email library for C# can enable you to do this, see this sample (it demonstrates how to validate email address).

You can't verify that an email is valid, the only way to verify the address is to send it an email with an activation code\link that the user clicks to verify their account.
 
Share this answer
 
Comments
Maciej Los 19-Oct-15 9:19am    
5ed!
If by "validate" you mean you want to check if an email address exists, there's no chance to do it, unless... an email has been successfully send and email server does not return an information about errors.


Please, read past questions and answers[^].
 
Share this answer
 

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