Solved

Verifying User at Host

Posted on 2003-11-10
3
188 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now