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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]