Re: Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/logical_filters.c
| From: | Rasmus Lerdorf | Date: | Fri, 02 Apr 2010 21:42:08 +0000 |
| Subject: | Re: Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/logical_filters.c |
||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47753@lists.php.net to get a copy of this message | ||
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 anything@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 username@localhost for email
> testing.
Right, and those 5 validators will reject anything@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 anything@localhost to
deliver locally, just anything will work.
-Rasmus