5 ms·
why would you even try to validate the TLD anyways? Just let it through. If the TLD doesn't exist, it will error out when querying the domain name anyways. Usin
by roblabla 5y ago
why would you even try to validate the TLD anyways? Just let it through. If the TLD doesn't exist, it will error out when querying the domain name anyways. Using public TLD lists runs the risk of the list going outdated.
- 2000UltraDeluxe 5y agoWell, I get if you want to verify the submitted data is an actual email address, and checking the TLD is a valid way of doing it. It does seem excessive, though -- as you said, it will bug out on sending the email if it isn't valid.