in reply to Sendmail to non-working email address
But to verify whether it's semantically valid can be done only one way... send email to the address with a unique token, and have them return it (in a way that's not a bounce message) or visit a web site.
There is no real-time way to do that. You'll get both false positives and false negatives. As a specific example, there is no way you can verify that jeffrey.dahmer@stonehenge.com is a valid email address in real time. You have to just send it. And you'll either get a bounce later, or a response.
I have an example of doing that for mod_perl, and an older version for CGI.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|