jodd-mail
jodd-mail copied to clipboard
Doesn't allow long TLDs
Hi. We experienced errors when using the RFC2822AddressParser with an emailadress that has .digital as its TLD.
In RFC_1035_DOMAIN_NAME only 6 characters are allowed. The currently longest TLD (in punycode) has 24 characters, XN--VERMGENSBERATUNG-PWB / vermögensberatung see: https://data.iana.org/TLD/tlds-alpha-by-domain.txt
For the reference: https://datatracker.ietf.org/doc/html/rfc5322 obsoletes 2822