Verifying User at Host

Hi:

For a given form, the email input field is so important for me that I would like to make sure that the informed User at Host really exists. Is there a way of verifying this in a Perl Script and return a warning message to the user instead of sending the form?

Thanks a lot.

Mario./
multisitesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dorwardCommented:
Short answer - no.

The only way to find out if a given email address exists is to send an email to it with some form of identification (such as a randomly generated 15 character sequence), and have the user respond to it (either by hitting reply and send, or following a link to a webpage (with the sequence in the query string).

Some SMTP servers allow you to ask if a user exists, but not all do, so you can't depend on it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
robysathCommented:
You can verify that host exists, but I agree to dorward's answer regarding the user.
0
TintinCommented:
I second dorward's comments.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.