Encryption improvements

This commit is contained in:
M66B
2019-11-18 18:44:23 +01:00
parent 8ec3e01a5e
commit 922921dc67
2 changed files with 22 additions and 20 deletions

View File

@@ -245,6 +245,7 @@ public class MessageHelper {
for (final EntityAttachment attachment : attachments)
if (attachment.available && EntityAttachment.PGP_MESSAGE.equals(attachment.encryption)) {
// https://tools.ietf.org/html/rfc3156
Multipart multipart = new MimeMultipart("encrypted; protocol=\"application/pgp-encrypted\"");
BodyPart pgp = new MimeBodyPart();