aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/juick/EmailManager.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/com/juick/EmailManager.java b/src/main/java/com/juick/EmailManager.java
index f3b0e85b..4ec65c8f 100644
--- a/src/main/java/com/juick/EmailManager.java
+++ b/src/main/java/com/juick/EmailManager.java
@@ -178,14 +178,9 @@ public class EmailManager implements NotificationListener {
message.setContent(multipart);
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("<mailto:unsubscribe@juick.com>,<https://juick.com/settings/unsubscribe?hash=%s>",
- userService.getHashByUID(emailUser.getUid())));
- message.setHeader("List-Unsubscribe-Post", "List-Unsubscribe=One-Click");
+ message.setHeader("List-Id", "<mail-notifications.juick.com>");
+ message.setHeader("List-Unsubscribe","<mailto:unsubscribe@juick.com>");
+ message.setHeader("Feedback-ID", String.format("%d:juick", emailUser.getUid()));
}
message.saveChanges();
transport.connect();