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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php