diff --git a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/AbstractMimeMessageIterator.java b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/AbstractMimeMessageIterator.java index 2d5faf660a8..a8793b2b169 100644 --- a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/AbstractMimeMessageIterator.java +++ b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/AbstractMimeMessageIterator.java @@ -426,6 +426,8 @@ public MimeMessage next() updateFactoryParameters(templateDocumentReference); message = ExtendedMimeMessage.wrap(this.factory.createMessage(templateDocumentReference, this.factoryParameters)); + message.setHeader("Auto-Submitted", "auto-generated"); + message.setHeader("X-Auto-Response-Suppress", "All"); List events = new ArrayList<>(); this.currentEvents.forEach(