At 11:52 -0500 2002.03.08, James Linden Rose, III wrote:
>How does this do as a rough cut email validity test???

Not very well, for two reasons.

First, email "validity" is not determined by how well-formed it is, but
also whether or not it exists, is replyable, etc.  You are only checking
well-formedness.

It may catch a certain large percentage, but will also surely fail on many
valid addresses.  See the Email::Valid module, which should catch all
properly formed email addresses, and reject all improperly formed ones,
except for email addresses with nested comments.  It essentially has a very
complex regex to determine if an email address conforms to the form
specified in RFC 822 (again, not including nested comments).

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to