Nikolay Podkolzin wrote:
Good afternoon, community!
How you help me? I need to know, how could I verify e-mail address? I don't
mean ( for example: te**@test.com it is valid or not) I wanna know is that
real world E-mail or not?
How could I do that?
Thank you in advance!
There are two types of email verifications:
1. verify that the email address is legal, in the sense that it follows
the syntax that email addresses follows
2. verify that the email address is live, in that email you send to it
will end up in someones inbox.
The first type can easily be done through regular expressions, and you
can find many such examples on
http://www.regexlib.com
The other one, however, is harder. The only sure way to do this is to
send that someone an email, containing a link back to your site. The
link would contain something that would allow your site to figure out
which user the link was sent to. The user would then be required to
click on the link to verify that the email address was correct.
There is, fortunately, no other way of doing this. Due to recent years
spamfest, all methods of silently verifying that an email address exists
on a server and corresponds to someones inbox is typically disabled
these days.
--
Lasse Vågsæther Karlsen
mailto:la***@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3