Added PGP version

This commit is contained in:
M66B 2020-05-05 10:48:11 +02:00
parent f637e7c3da
commit edf448c932
1 changed files with 2 additions and 1 deletions

View File

@ -340,8 +340,9 @@ public class MessageHelper {
Log.i("Sending PGP encrypted message");
// Build header
// https://tools.ietf.org/html/rfc3156
BodyPart bpHeader = new MimeBodyPart();
bpHeader.setContent("", "application/pgp-encrypted");
bpHeader.setContent("Version: 1\n", "application/pgp-encrypted");
// Build content
BodyPart bpContent = new MimeBodyPart();