|
|
@ -1871,7 +1871,9 @@ public class MessageHelper {
|
|
|
|
MimePart part = imessage;
|
|
|
|
MimePart part = imessage;
|
|
|
|
|
|
|
|
|
|
|
|
if (part.isMimeType("multipart/mixed")) {
|
|
|
|
if (part.isMimeType("multipart/mixed")) {
|
|
|
|
Multipart mp = (Multipart) part.getContent();
|
|
|
|
Object content = part.getContent();
|
|
|
|
|
|
|
|
if (content instanceof Multipart) {
|
|
|
|
|
|
|
|
Multipart mp = (Multipart) content;
|
|
|
|
for (int i = 0; i < mp.getCount(); i++) {
|
|
|
|
for (int i = 0; i < mp.getCount(); i++) {
|
|
|
|
BodyPart bp = mp.getBodyPart(i);
|
|
|
|
BodyPart bp = mp.getBodyPart(i);
|
|
|
|
if (bp.isMimeType("multipart/signed") || bp.isMimeType("multipart/encrypted")) {
|
|
|
|
if (bp.isMimeType("multipart/signed") || bp.isMimeType("multipart/encrypted")) {
|
|
|
@ -1879,6 +1881,8 @@ public class MessageHelper {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
Log.e("Mixed type=" + (content == null ? null : content.getClass().getName()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (part.isMimeType("multipart/signed")) {
|
|
|
|
if (part.isMimeType("multipart/signed")) {
|
|
|
|