On 04/02/2010 02:37 PM, Sean Coates wrote:
>> If you look closely you will see that all 5 validators in the chart
>> reject single-word domains.
> 
> Note that this regex also considers anyth...@localhost to be an invalid email 
> address.
> I hear your point about the difference between a local machine named "va" and 
> the "va." TLD, but I doubt I'm the only one who uses usern...@localhost for 
> email testing.

Right, and those 5 validators will reject anyth...@localhost as well
because they are not routable addresses that you can send upstream to
your smtp host.  Note also that you don't need anyth...@localhost to
deliver locally, just anything will work.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to