diff options
author | Vitaly Takmazov | 2017-12-25 14:55:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-12-25 14:55:29 +0300 |
commit | 8549d81c88fec6af20d1314aba43702941fe177b (patch) | |
tree | 982652334c9f0f8558fddc81684f4ddf42462951 /juick-api/src/main/java/com | |
parent | 922296c9cf68fbbbd183d161eb3729e53eb100b7 (diff) |
email: two \n before cut-off
Diffstat (limited to 'juick-api/src/main/java/com')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/EmailManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/EmailManager.java b/juick-api/src/main/java/com/juick/api/EmailManager.java index 64f06aee..411e86ec 100644 --- a/juick-api/src/main/java/com/juick/api/EmailManager.java +++ b/juick-api/src/main/java/com/juick/api/EmailManager.java @@ -73,7 +73,7 @@ public class EmailManager implements ApplicationListener<MessageEvent> { message.setFrom(new InternetAddress("juick@juick.com")); message.addRecipient(javax.mail.Message.RecipientType.TO, new InternetAddress(email)); message.setSubject(subject); - message.setText(String.format("%s\n%s\n---\nYou are receiving this because you are subscribed to this user " + + message.setText(String.format("%s\n%s\n\n---\nYou are receiving this because you are subscribed to this user " + "or discussion. Configure notifications at https://juick.com/settings", formatPost(msg), formatUrl(msg))); message.saveChanges(); |