From a0a70fd3c0b031426a34b4d62a7b3e11f1a90c64 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 27 Oct 2020 11:32:40 +0300 Subject: Additional Precendence header --- src/main/java/com/juick/EmailManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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", ""); message.setHeader("List-Unsubscribe",""); message.setHeader("Feedback-ID", String.format("%d:juick", emailUser.getUid())); + message.setHeader("Precedence", "bulk"); } message.saveChanges(); transport.connect(); -- cgit v1.2.3