mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Process all body parts
This commit is contained in:
parent
9316837ee9
commit
4a25e63647
1 changed files with 5 additions and 0 deletions
|
@ -4999,9 +4999,14 @@ public class MessageHelper {
|
||||||
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 (isMimeType(bp, "multipart/signed") || isMimeType(bp, "multipart/encrypted")) {
|
if (isMimeType(bp, "multipart/signed") || isMimeType(bp, "multipart/encrypted")) {
|
||||||
|
for (int j = 0; j < mp.getCount(); j++)
|
||||||
|
if (j != i)
|
||||||
|
getMessageParts(part, mp.getBodyPart(j), parts, null);
|
||||||
part = (MimePart) bp;
|
part = (MimePart) bp;
|
||||||
break;
|
break;
|
||||||
} else if (isMimeType(bp, "application/pgp-encrypted") && i + 1 < mp.getCount()) {
|
} else if (isMimeType(bp, "application/pgp-encrypted") && i + 1 < mp.getCount()) {
|
||||||
|
for (int j = 0; j < i; j++)
|
||||||
|
getMessageParts(part, mp.getBodyPart(j), parts, null);
|
||||||
// Workaround Outlook problem
|
// Workaround Outlook problem
|
||||||
// --_xxxoutlookfr_
|
// --_xxxoutlookfr_
|
||||||
// Content-Type: text/plain; charset="us-ascii"
|
// Content-Type: text/plain; charset="us-ascii"
|
||||||
|
|
Loading…
Reference in a new issue