Comments (4)
I just merged #124, which adds this feature. I plan on releasing a new version in the next week that will contain this change.
from jmail.
Hi @bobharner thanks for opening this issue! I think this is a good and useful enhancement, I plan to prioritize adding this feature next.
from jmail.
I finally have started work on this issue. There are a lot of places where validation can fail, so it is a bit involved 🙂
Essentially there will be a new method called validate(String address)
that will return an EmailValidationResult
object. This object will contain the result of the validation, the reason why it failed (if any), and the parsed Email
object if successful.
I will update this issue once again once the change is complete.
from jmail.
Version 1.5.0 is released and now available on Maven Central. Please try it out and see if this meets your needs!
from jmail.
Related Issues (20)
- E-Mail Address Validation on https://www.rohannagar.com/jmail/ broken HOT 4
- Valid email shown as invalid HOT 8
- Question: E-Mail Address with local part containing only slashes valid? HOT 3
- Please either make EmailValidator immutable or support clone() HOT 1
- Provide distinct failure reasons for each built-in rule and provide option for specifying custom failure reasons HOT 1
- Add ability to get the ASCII only version of an Email HOT 5
- Make timeout configurable for DNS MX record lookup HOT 2
- Support for configuring non-ascii characters to be invalid HOT 2
- Provide option to unquote localparts when normalising HOT 2
- Improve email address normalization HOT 3
- StringIndexOutOfBoundsException HOT 2
- My valid emoji email address in the format xyz@🚀.kz is not tested valid HOT 1
- IllegalArgumentException when validating email address ending with "High Octet Preset" control character HOT 5
- Feature request: some sort of email normalization? HOT 3
- Add ValidationRule to disallow whitespace in the local-part and domain HOT 3
- Incorrect email HOT 1
- invalid address returning true HOT 2
- Option to validate MX record associated with email domains HOT 5
- Add documentation for all default validation rules HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmail.