Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hey all,
I would like to build a web based application to provide local content only for registered users but here is the challenge that I have, the current database is full of all manners of email addresses because before emails were only being validated not verified, so you find things like a@b.com since it is in the correct email format.What I want is to be able to verify the emails during registration so that when a user enters an email the following happens
1. The email format is validated
2. the email is verified as existing
If there is any that can offer a few pointers, the help will be highly appreciated.
thanks in advance
Posted
Updated 12-Mar-12 1:53am
v2
Comments
Prasad_Kulkarni 12-Mar-12 7:43am    
Unclear
Herman<T>.Instance 12-Mar-12 7:46am    
have you read this?
Odd Ondeda 12-Mar-12 7:53am    
thanks, that is a start for me

The only way you can verify that an email address actually exists is to send a verification email to that email address that requires the user to click a verification link that will then update the database to indicate that the address has been validated by the user.
 
Share this answer
 
Comments
Herman<T>.Instance 12-Mar-12 7:52am    
it is a way not the only way ;)
Pravin Patil, Mumbai 12-Mar-12 8:03am    
Have my 5.
Bojjaiah 12-Mar-12 8:26am    
it's very good answer. take my side 5up.
The SMTP commands hve 2 commands that can be used to ask about user details (existence of email address). Most stmp servers have set these feautures off to prevent the addresses being used for spam.

Read this[^] about the VRFY and EXPN commands.
You have to VRFY or EXPN against the emailaddress domain (part after @).
 
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