mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-28 00:35:58 +00:00
Added S/MIME mime type
This commit is contained in:
parent
79d6efdc4d
commit
d627e5d65d
1 changed files with 2 additions and 1 deletions
|
@ -1427,7 +1427,8 @@ public class MessageHelper {
|
||||||
return parts;
|
return parts;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (imessage.isMimeType("application/pkcs7-mime")) {
|
} else if (imessage.isMimeType("application/pkcs7-mime") ||
|
||||||
|
imessage.isMimeType("application/x-pkcs7-mime")) {
|
||||||
ContentType ct = new ContentType(imessage.getContentType());
|
ContentType ct = new ContentType(imessage.getContentType());
|
||||||
String smimeType = ct.getParameter("smime-type");
|
String smimeType = ct.getParameter("smime-type");
|
||||||
if ("enveloped-data".equals(smimeType)) {
|
if ("enveloped-data".equals(smimeType)) {
|
||||||
|
|
Loading…
Reference in a new issue