From 7366c3e536e329c3dba6edc82fb80bf7e271359f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 28 Sep 2018 12:28:15 +0300 Subject: RFC2369: List-Post, List-Owner, List-Archive --- juick-server/src/main/java/com/juick/server/EmailManager.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-server/src/main/java') 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 bcb6db25..0acabeff 100644 --- a/juick-server/src/main/java/com/juick/server/EmailManager.java +++ b/juick-server/src/main/java/com/juick/server/EmailManager.java @@ -124,6 +124,9 @@ public class EmailManager implements ApplicationListener { User emailUser = userService.getUserByEmail(to); if (!emailUser.isAnonymous()) { message.setHeader("List-Id", "Juick notifications "); + message.setHeader("List-Post", ""); + message.setHeader("List-Owner", ""); + message.setHeader("List-Archive", ""); 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