Chris Petersen [EMAIL PROTECTED] wrote: > > So what about ".aero" and ".museum"? No, I don't think hard-coding a > > list of valid TLDs is a good idea. > > This is for my own stuff, I'll hard-code as I please, since it will > prevent people from typing in [EMAIL PROTECTED]
Still, hard-coding a list of valid TLDs is bad -- in a year the list might very well be outdated. Why not just do a DNS (MX) lookup of the domain that has been entered? ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
