aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-27 11:32:40 +0300
committerGravatar Vitaly Takmazov2020-10-27 11:32:40 +0300
commita0a70fd3c0b031426a34b4d62a7b3e11f1a90c64 (patch)
tree2697294d2a35525bf37b64d5100802258ae0c7e4 /src/main
parent8bb36fc8b125d7ebf40d6432499197e95989b604 (diff)
Additional Precendence header
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/EmailManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/EmailManager.java b/src/main/java/com/juick/EmailManager.java
index 4ec65c8f..8ef1a270 100644
--- a/src/main/java/com/juick/EmailManager.java
+++ b/src/main/java/com/juick/EmailManager.java
@@ -181,6 +181,7 @@ public class EmailManager implements NotificationListener {
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.setHeader("Precedence", "bulk");
}
message.saveChanges();
transport.connect();