Solved

Verifying User at Host

Posted on 2003-11-10
3
190 Views
Last Modified: 2013-12-25
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./
0
Comment
Question by:multisites
3 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 250 total points
ID: 9714836
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
 
LVL 1

Expert Comment

by:robysath
ID: 9715960
You can verify that host exists, but I agree to dorward's answer regarding the user.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 9718495
I second dorward's comments.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question