Skip to content

Commit

Permalink
remove double quotes around addresses
Browse files Browse the repository at this point in the history
now the same format as in line 94 in sendMail()
  • Loading branch information
qqmyers committed Mar 8, 2018
1 parent 64cb1ef commit c8f326d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ public boolean sendSystemEmail(String to, String subject, String messageText) {
InternetAddress[] recipients = new InternetAddress[recipientStrings.length];
for (int i = 0; i < recipients.length; i++) {
try {
recipients[i] = new InternetAddress('"' + recipientStrings[i] + '"', "", charset);
recipients[i] = new InternetAddress(recipientStrings[i], "", charset);
} catch (UnsupportedEncodingException ex) {
logger.severe(ex.getMessage());
}
Expand Down

0 comments on commit c8f326d

Please sign in to comment.