Start rewriting your email address test regex’s!
Posted by johnb | Posted in Uncategorized | Posted on 26-06-2008
Tags: general
3
So it seems in their wisdom ICANN has voted to relax the strict rules on the top level domains, ie .com, .uk etc meaning now that anything could become a tld, so I could register a domain ‘bah’ – so my web address could be http://foo.bah (as long as I can show a business plan and technical capacity???? That’s some requirement!!!)
Great idea – but what about email addresses? – Of course I’ll want to use my shiney new domain to host my email and I’ll want it to be foo@bah – I bet there’s not a single site out there that would let me register with that as my email address – let alone mail server/application that let’s me set that as my email alias!
Better get on with fixing it guys, it’s going to be here next year!




Surely email addresses will still require a domain name before the TLD? e.g. you@foo.bah – we don’t have me@com
yeah maybe, but there are currently only a handful of ‘none 2 character’ tlds, stuff like .com, .edu, .aero, .info, .name, .museum (and a few others) other than that you can safely test for the @ symbol with either at least 2 characters between [a-zA-Z] at the end OR one of the few ‘long ones’ and you’ll have a pretty good chance of having a legimate email address.
What this annoucement means is that all you can pretty much do now to check is to look for an @ symbol and perhaps a dot after the @.
You still have to adjust your validators to account for these new formats though…..
I too think TLD is the most imp factor in an email Id.