Re: email address syntax checker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nilesh Govindarajan wrote:
> Okay let me tell you guys one more thing that the validator I posted
> earlier is not exactly as per RFC. It does have some
> variations. "@"@example.com may be a valid email address, but I doubt
> very much if any provider in the universe gives such an address?

Just as a single data point, Google doesn't allow it, even when the
email address is not on their domain but only via their Google Apps For
Domains service:
,----
| These characters are not allowed: ", @
`----

They do allow you to (try to) send email to such addresses though, so I
suspect there is little or no checking on the client side.

In fact I'm wondering why the OP doesn't just do what every other site
seems to do - accept the registering user's input as valid, and ask them
to validate it by sending them an email address to that address.
Assuming an email address is even really required for operation of the
users' accounts.


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux