-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javadoc regarding default setting for email validation contradicting code, which is correct? #31
Comments
Don't know if this helps, but: I'm not sure what your use cases are for simple-java-mail, but the original options in EmailAddress were there to cover a few basic use cases:
Again, not sure if this is what you were asking, but maybe it's useful. |
@chconnor I included parts of your comment in the code to clarify the defaults and the use cases. That's good enough for me. |
8370db1#commitcomment-16375443
The following javadoc and code show what the default email validation strictness is set to:
However, I'm not sure what actually should be the default. Do we even need a default? What is its purpose?
Initially I thought a more strict-than-RFC-compliant default would be needed to make sure main stream services and servers can handle the more mundane email strings, rather than the exotic strings the RFC would allow.
What should be the default?
The text was updated successfully, but these errors were encountered: