Home GnuPG
Diffusion GpgOL a8d772736473

Fix body handling of sent mails.
a8d772736473Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix body handling of sent mails.

* src/mailitem-events.cpp (handle_read): Work on the base message.

Outlook somehow is confused about the attachment
table of our sent mails. The securemessage interface
gives us access to the real attach table but the attachment
table of the message itself is broken.

So unprotect attachments does not work for sent mails
as the attachment table of the mapiitem is invalid.
We need to somehow get outlook to use the attachment table
of the base message and and then decrypt those.
This will probably mean removing all attachments for the
message and adding the attachments from the base message then
we can call unprotect_attachments as usual.

For now this works only for the body.

Details

Provenance
aheineckeAuthored on Oct 13 2015, 10:27 AM
Parents
rO8afa4a3780c8: Remove mailitem event handler on unload
Branches
Unknown
Tags
Unknown