Home GnuPG
Diffusion GpgOL 2216aaecb56f

Fix moving / closing S/MIME mails with attachments

Description

Fix moving / closing S/MIME mails with attachments

* src/mail.cpp (Mail::close): Save changes after close
to fix T4525

My understanding of this issue and the fix for
it is that Outlook with exchange detects that our mails
are S/MIME mails. As the attachments are modified by us
outlook wants to save the changes on move.

This fails because it can't do the crypto.
Leading to the error. This also happens when
such a mail is closed.

The trick is to save the mail in MAPI (our
plaintext is only in OOM) so that the message class
becomes a gpgol message class in MAPI.
The problem with that is outlined in T4543

Details

Provenance
aheineckeAuthored on May 28 2019, 3:17 PM
Parents
rO5bd3e5bd7eef: Add accessor for msgtype
Branches
Unknown
Tags
Unknown
Tasks
T4525: GpgOL: Error when moving opened S/MIME Mails with attachments on Exchange