RE: [PHP] Email Verification
| From: | Rodolfo Gonzalez | Date: | Mon, 25 Feb 2002 00:16:46 +0000 |
| Subject: | RE: [PHP] Email Verification | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86044@lists.php.net to get a copy of this message | ||
On Mon, 25 Feb 2002, Martin Towell wrote:
> You can use sockets and connect to their mail server (bit after the @) and
> "pretend" to send an email to them, but cancel the request before you
> actually send anything - doesn't always work though, as some servers will
> report back the all users are correct
Anyway, you'd have problems, because for @something sometimes something
has a MX pointing to something else. Also, with regex it'd be a bit
difficult (I just remember when I propossed to use e-mail checks in IMP,
the guys came with a two page long regex just to cover one part of the RFC
:( ). Anyway for general pourpose it'be useful the class by Manuel Lemos
(look for it in php classes).
Regards.