email-validationrfcrfc822

Apache Commons Validator 1.6 API - RFC


What is the RFC number on which Apache Commons Validator 1.6 API (org.apache.commons.validator.routines.EmailValidator) for Email Validation is based?

I have choice to make if my existing validation should be migrated to okta (IAM) which is RFC 5322 based or use Apache Commons Validator 1.6. We were currently using Apache Commons Validator 1.4 but having some issues with some email format like domain name >3 characters.

The advantage of delegating to Okta i see is that okta will automatically comply with latest and greatest RFC # .


Solution

  • For this see the Apache Commons Validator documentation:

    4.7 Email Address Validation EmailValidator provides email address validation according to RFC 822 standards.