mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user