\_ SMTP quoth Eden Li on 4/22/2001 21:38 as having spake thusly:
\_
\_ Actually this fails on quite a few cases, including my valid email
\_ address...
\_ The rule of thumb for email addresses is, there is no way to validate syntax
\_ of an email address unless you send to and and get a reply back from a
\_ _real live person_.
I'm going to have to ask you to look at
http://public.yahoo.com/~jfriedl/regex/email-opt.txt
then. That'll tell you if an email address is valid as an address.
It's a bit long, but it has *all* the magic.
It still overlooks someone/thing being on the other end though. You'd
have to connect to the named smtp server and see if you can get it to
accept it.
David