Skip to content

Commit

Permalink
Add missing email content (#589)
Browse files Browse the repository at this point in the history
Without this line the code does not work.
  • Loading branch information
akerekes authored and lesv committed Apr 3, 2017
1 parent 52a9709 commit e75cafb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private void sendSimpleMail() {
msg.addRecipient(Message.RecipientType.TO,
new InternetAddress("[email protected]", "Mr. User"));
msg.setSubject("Your Example.com account has been activated");
msg.setText("This is a test");
Transport.send(msg);
} catch (AddressException e) {
// ...
Expand Down

0 comments on commit e75cafb

Please sign in to comment.