Refactoring

This commit is contained in:
M66B
2021-12-08 12:18:38 +01:00
parent 41b83cc82c
commit cd117c3251
3 changed files with 40 additions and 17 deletions

View File

@@ -1045,6 +1045,11 @@ public class MessageHelper {
return (header == null ? null : MimeUtility.unfold(header));
}
List<Header> getAllHeaders() throws MessagingException {
ensureHeaders();
return Collections.list(imessage.getAllHeaders());
}
String[] getReferences() throws MessagingException {
ensureHeaders();