mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 17:37:13 +02:00
Use strict email address validation in SendEmailUtils
It probably should have always been like this, but the Nomulus test recently started failing without it for some reason. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144343479
This commit is contained in:
parent
0c6cd4d7b7
commit
66a02856c4
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class SendEmailUtils {
|
|||
@Override
|
||||
public InternetAddress apply(String emailAddress) {
|
||||
try {
|
||||
return new InternetAddress(emailAddress);
|
||||
return new InternetAddress(emailAddress, true);
|
||||
} catch (AddressException e) {
|
||||
logger.severefmt(
|
||||
e,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue