|
-
Jul 10th, 2005, 06:31 AM
#1
Thread Starter
Frenzied Member
JavaScript -- Validating an email address
Is there a way that you can validate an email address entered by checking to see if it exists?
-
Jul 10th, 2005, 06:58 PM
#2
Re: JavaScript -- Validating an email address
No, not from JavaScript. Once you're on the server side, you can contact the mail server and see if it rejects mail to that address, but that's not 100% reliable either, because many mail servers (qmail and MS Exchange in particular) don't check existence of recipients during the SMTP exchange.
If the address entered belongs to the guy who enters it, it might be warranted to send a confirmation mail, just as this forum does. Again, though, that's server-side stuff.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jul 10th, 2005, 11:30 PM
#3
Thread Starter
Frenzied Member
Re: JavaScript -- Validating an email address
Thanks CB. Do you think the server side stuff is best left to servlets or jsp or would a server side version of javascript be just as suitable?
-
Jul 11th, 2005, 04:48 AM
#4
Re: JavaScript -- Validating an email address
That depends on your server, and what technology you're familiar with. Netscape Server supports (or rather supported) server-side JavaScript, and ASP can be scripted with JScript, but neither is an attractive choice.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|