PDA

View Full Version : Server Side Email Validation with ASP



dhtmlhelp
Jul 15th, 2002, 01:40 AM
Hi,

I was visiting www.2advanced.com (Flash site) and I was amazed by the email validation script they use.

What the script does is it processes the email (sends some kind of proxy to the email address to see if it exists) and if it doesn't it displays Invalid Email Address (not just an email syntax verifier - it actually verifies the email actually exists). Now, I haven't seen it done in html/asp but was hoping some of you knew how to do it.

I am aware of the email validators available around but there is nothing close to what the 2advanced script can do. Very impressed, hope you can share your thoughts if you have the solution.

DHTMLHELP

oracleguy
Jul 15th, 2002, 06:14 AM
Well... hmmm.... it might do some kind of DNS look up or it might ping the domain first to see if that exists. It it does then some how it interfaces with the email server and then i dont have a clue.

dhtmlhelp
Jul 15th, 2002, 12:39 PM
How do I ping or do a DNS lookup with ASP? And would anybody know how to interface with the email server on the other side to find out if the email actually exists?

DHTMLHELP

oracleguy
Jul 16th, 2002, 07:26 PM
They could of built some .NET application in VS.NET that is doing it. I don't know exactly how you'd do it but it is a possiblility.

I think.:confused:

Morgoth
Jul 16th, 2002, 07:27 PM
Well, I think it doesn't check for the e-mail address exactly, I think it takes the domain and if the site is real, it says it sent the message. All it does is check if the site is running, and not a 404.

So, basically it's almost like

If fish.net <> 404 then
Send mail
Else
Invailed
End if

Try it with hotmail,

Use addesses that you know, noone has.
Ex.
[email protected]
[email protected]

That's my explanation.
But as I see it, any other site might just want to get the right looking e-mail address...
Right Looking= [email protected]
Wrong Looking= AABB.CC
Wrong Looking= @AABB.CC
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Wrong Looking= @AABBCC
Wrong Looking= AABBCC
Wrong Looking= [email protected]
Wrong Looking= [email protected]
Etc...
...and save the time and bandwidth of programs that will have to do what www.2advanced.com does.

<personal opinon>
P.S. Flash is not the way for making websites, you need to be able to have some HTML other then the enbed tag.
</personal opinon>

whammy
Jul 17th, 2002, 02:30 AM
I saw this kind of script and have it bookmarked somewhere... I'll see if I can find it... and this is in regular ASP, not ASP.NET

GoneWest
Nov 2nd, 2004, 08:06 AM
I Know this is a really old thread but did anyone manage to solve this????

Morgoth
Nov 9th, 2004, 04:41 AM
I don't think there is a solution for this, I think it's just something you'll need to email the person who programed the site.

It's advanced, but it just might be a trick.