Kevin Waterson wrote:

> There is no silver bullet regex to validate all RFC compliant email
> address. Many have tried, but they all fail at some point. The best
> you can do is cater to most _sane_ addresses.
> 

Exactly - the regex is a quick/cheap sanity check, nothing more.  To go
all the way, you could try doing an SMTP VRFY against the MX for the
domain, but it's really taking it a bit too far.


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to