1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 15:32:52 +00:00

Added PGP version

This commit is contained in:
M66B 2020-05-05 10:48:11 +02:00
parent f637e7c3da
commit edf448c932

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();