Hi Ayoma, RFC 5321 goes on to say, "This makes the requirement, described in more detail below, that only fully-qualified domain names appear in SMTP transactions on the public Internet, particularly important where top-level domains are involved."
Does EmailValidator provide a way to validate an email address is valid for use on the public Internet? Thanks, Dave -----Original Message----- From: Ayoma Wijethunga [mailto:[email protected]] Sent: Tuesday, June 16, 2015 12:27 PM To: Commons Users List Subject: Re: [validator] EmailValidator 1.4.1 returns true for some invalid(?) email addresses Hi Dave, Mentioned email addresses are valid and they are mailboxes for TLD users ("gmail" is a valid TLD - http://data.iana.org/TLD/tlds-alpha-by-domain.txt) Please check following : Bug report : https://issues.apache.org/jira/browse/VALIDATOR-273 RFC: http://tools.ietf.org/html/rfc5321#section-2.3.5 * (states : In the case of a top-level domain used by itself in an email address, a single string is used without any dots.)* Best Regards, Ayoma. On Tue, Jun 16, 2015 at 9:21 PM, Dave Hammond <[email protected]> wrote: > The EmailValidator.java isValid routine was changed in version 1.4.1 > and now returns true for email addresses like these: > > > > user@com > > user@gmail > > > > Are these valid email address forms? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
