You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by hq...@apache.org on 2025/09/04 01:41:19 UTC

(james-project) branch master updated: [ENHANCEMENT] Allow to extend DSNBounce

This is an automated email from the ASF dual-hosted git repository.

hqtran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 680e9679ce [ENHANCEMENT] Allow to extend DSNBounce
680e9679ce is described below

commit 680e9679cea4deaf83b507df714c101aff6a2e78
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Wed Aug 27 17:07:01 2025 +0700

    [ENHANCEMENT] Allow to extend DSNBounce
    
    i18n dsn bounce may need to override the body message.
---
 .../src/main/java/org/apache/james/transport/mailets/DSNBounce.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/DSNBounce.java b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/DSNBounce.java
index c0119286cf..89dc688e94 100755
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/DSNBounce.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/DSNBounce.java
@@ -429,7 +429,7 @@ public class DSNBounce extends GenericMailet implements RedirectNotify {
             .orElse(getInitParameters().getAttachmentType());
     }
 
-    private MimeBodyPart createTextMsg(Mail originalMail) throws MessagingException {
+    protected MimeBodyPart createTextMsg(Mail originalMail) throws MessagingException {
         StringBuilder builder = new StringBuilder();
 
         builder.append(bounceMessage()).append(LINE_BREAK);


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org