Skip to content

Commit 70ae8c0

Browse files
author
Joshua Ali
committed
Support email address formats from RFC 6531
1 parent 728b3da commit 70ae8c0

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repositories {
4141
*/
4242
dependencies {
4343
compile(group: "com.github.java-json-tools", name: "json-schema-core", version: "1.2.8");
44-
compile(group: "javax.mail", name: "mailapi", version: "1.4.3");
44+
compile(group: "com.sun.mail", name: "mailapi", version: "1.6.1");
4545
compile(group: "joda-time", name: "joda-time", version: "2.9.7");
4646
compile(group: "com.googlecode.libphonenumber", name: "libphonenumber", version: "8.0.0");
4747
compile(group: "com.google.code.findbugs", name: "jsr305", version: "3.0.1");

src/test/resources/format/common/email.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
},
1515
{
1616
"data": "éioaj@my.name",
17-
"valid": false,
18-
"message": "err.format.invalidEmail",
19-
"msgData": {
20-
"value": "éioaj@my.name"
21-
},
22-
"msgParams": [ "value" ]
17+
"valid": true
2318
},
2419
{
2520
"data": "a@",

0 commit comments

Comments
 (0)