From fc394e0d31e381afd6e88175b54d9ab8a4007e03 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 27 Sep 2018 12:17:05 +0300 Subject: RFC2919: List-Id --- juick-server/src/main/java/com/juick/server/EmailManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-server/src/main/java/com/juick/server') diff --git a/juick-server/src/main/java/com/juick/server/EmailManager.java b/juick-server/src/main/java/com/juick/server/EmailManager.java index 67c21d1c..bcb6db25 100644 --- a/juick-server/src/main/java/com/juick/server/EmailManager.java +++ b/juick-server/src/main/java/com/juick/server/EmailManager.java @@ -123,6 +123,7 @@ public class EmailManager implements ApplicationListener { message.setContent(multipart); User emailUser = userService.getUserByEmail(to); if (!emailUser.isAnonymous()) { + message.setHeader("List-Id", "Juick notifications "); message.setHeader("List-Unsubscribe", String.format("https://juick.com/settings/unsubscribe?hash=%s", userService.getHashByUID(emailUser.getUid()))); message.setHeader("List-Unsubscribe-Post", "List-Unsubscribe=One-Click"); -- cgit v1.2.3