Process delivered to header

This commit is contained in:
M66B
2018-09-18 08:55:59 +00:00
parent 0ae3d52480
commit b137f5a2be
6 changed files with 1005 additions and 1 deletions

View File

@@ -251,6 +251,10 @@ public class MessageHelper {
return (refs == null ? new String[0] : refs.split("\\s+"));
}
String getDeliveredTo() throws MessagingException {
return imessage.getHeader("Delivered-To", imessage.getHeader("X-Delivered-To", null));
}
String getInReplyTo() throws MessagingException {
return imessage.getHeader("In-Reply-To", null);
}