Send DSN to return path address

This commit is contained in:
M66B
2021-02-01 11:54:43 +01:00
parent be7d139f5d
commit c7040d1af1
7 changed files with 2387 additions and 5 deletions

View File

@@ -1239,6 +1239,10 @@ public class MessageHelper {
return addresses;
}
Address[] getReturnPath() throws MessagingException {
return getAddressHeader("Return-Path");
}
Address[] getSender() throws MessagingException {
return getAddressHeader("Sender");
}