aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-server/src/main/java/com/juick/server/EmailManager.java3
1 files changed, 3 insertions, 0 deletions
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<MessageEvent> {
User emailUser = userService.getUserByEmail(to);
if (!emailUser.isAnonymous()) {
message.setHeader("List-Id", "Juick notifications <mail-notifications.juick.com>");
+ message.setHeader("List-Post", "<mailto:juick@juick.com>");
+ message.setHeader("List-Owner", "<mailto:support@juick.com>");
+ message.setHeader("List-Archive", "<https://juick.com/>");
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");