mirror of https://github.com/M66B/FairEmail.git
Added PGP version
This commit is contained in:
parent
f637e7c3da
commit
edf448c932
|
@ -340,8 +340,9 @@ public class MessageHelper {
|
||||||
Log.i("Sending PGP encrypted message");
|
Log.i("Sending PGP encrypted message");
|
||||||
|
|
||||||
// Build header
|
// Build header
|
||||||
|
// https://tools.ietf.org/html/rfc3156
|
||||||
BodyPart bpHeader = new MimeBodyPart();
|
BodyPart bpHeader = new MimeBodyPart();
|
||||||
bpHeader.setContent("", "application/pgp-encrypted");
|
bpHeader.setContent("Version: 1\n", "application/pgp-encrypted");
|
||||||
|
|
||||||
// Build content
|
// Build content
|
||||||
BodyPart bpContent = new MimeBodyPart();
|
BodyPart bpContent = new MimeBodyPart();
|
||||||
|
|
Loading…
Reference in New Issue