Skip to content

Commit

Permalink
fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
bbottema committed Apr 29, 2015
1 parent 7b01d42 commit 5b4d4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/codemonkey/simplejavamail/Mailer.java
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ private Message prepareMessage(final Email email, final MimeEmailMessageWrapper
private void setRecipients(final Email email, final Message message)
throws UnsupportedEncodingException, MessagingException {
for (final Recipient recipient : email.getRecipients()) {
final Address address = new InternetAddress(recipient.getAddress(), recipient.getName());
final Address address = new InternetAddress(recipient.getAddress(), recipient.getName(), CHARACTER_ENCODING);
message.addRecipient(recipient.getType(), address);
}
}
Expand Down

0 comments on commit 5b4d4cc

Please sign in to comment.