Support for encrypted attachments

Refs #66
This commit is contained in:
M66B
2018-09-01 14:58:35 +00:00
parent 7e3f4563d1
commit 6d3c4a96fa
3 changed files with 69 additions and 19 deletions

View File

@@ -281,7 +281,7 @@ public class MessageHelper {
return getHtml(imessage);
}
private String getHtml(Part part) throws MessagingException, IOException {
static String getHtml(Part part) throws MessagingException, IOException {
if (part.isMimeType("text/*")) {
String s;
try {
@@ -361,7 +361,7 @@ public class MessageHelper {
return result;
}
private List<EntityAttachment> getAttachments(BodyPart part) throws
static List<EntityAttachment> getAttachments(BodyPart part) throws
IOException, MessagingException {
List<EntityAttachment> result = new ArrayList<>();