Click here to Skip to main content
13,089,207 members (100,246 online)
Rate this:
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 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 1:41am
Updated 12-Mar-12 1:53am
pashad 12-Mar-12 7:43am
digimanus 12-Mar-12 7:46am
have you read this?
Odd Ondeda 12-Mar-12 7:53am
thanks, that is a start for me
Rate this: bad
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.
digimanus 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.
Rate this: bad
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 @).

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 |
Web01 | 2.8.170813.1 | Last Updated 12 Mar 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