Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to 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 12-Mar-12 2:41am
Edited 12-Mar-12 2:53am
v2
Comments
pashad at 12-Mar-12 7:43am
   
Unclear
digimanus at 12-Mar-12 7:46am
   
have you read this?
Odd Ondeda at 12-Mar-12 7:53am
   
thanks, that is a start for me
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
digimanus at 12-Mar-12 7:52am
   
it is a way not the only way ;)
Pravin Patil, Mumbai at 12-Mar-12 8:03am
   
Have my 5.
Bojjaiah at 12-Mar-12 8:26am
   
it's very good answer. take my side 5up.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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 @).
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 12 Mar 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