|
|
@ -4988,6 +4988,8 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof String)
|
|
|
|
if (content instanceof String)
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
|
|
|
|
else if (content instanceof com.sun.mail.imap.IMAPInputStream)
|
|
|
|
|
|
|
|
content = tryParseMultipart(Helper.readStream((com.sun.mail.imap.IMAPInputStream) content), part.getContentType());
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
Multipart mp = (Multipart) content;
|
|
|
|
Multipart mp = (Multipart) content;
|
|
|
@ -5029,6 +5031,8 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof String)
|
|
|
|
if (content instanceof String)
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
|
|
|
|
else if (content instanceof com.sun.mail.imap.IMAPInputStream)
|
|
|
|
|
|
|
|
content = tryParseMultipart(Helper.readStream((com.sun.mail.imap.IMAPInputStream) content), part.getContentType());
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
Multipart multipart = (Multipart) content;
|
|
|
|
Multipart multipart = (Multipart) content;
|
|
|
@ -5079,6 +5083,8 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof String)
|
|
|
|
if (content instanceof String)
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
|
|
|
|
else if (content instanceof com.sun.mail.imap.IMAPInputStream)
|
|
|
|
|
|
|
|
content = tryParseMultipart(Helper.readStream((com.sun.mail.imap.IMAPInputStream) content), part.getContentType());
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
Multipart multipart = (Multipart) content;
|
|
|
|
Multipart multipart = (Multipart) content;
|
|
|
@ -5196,6 +5202,8 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof String)
|
|
|
|
if (content instanceof String)
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
content = tryParseMultipart((String) content, part.getContentType());
|
|
|
|
|
|
|
|
else if (content instanceof com.sun.mail.imap.IMAPInputStream)
|
|
|
|
|
|
|
|
content = tryParseMultipart(Helper.readStream((com.sun.mail.imap.IMAPInputStream) content), part.getContentType());
|
|
|
|
|
|
|
|
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
multipart = (Multipart) content;
|
|
|
|
multipart = (Multipart) content;
|
|
|
|