Diffusion GpgOL d3a220f060cd

Fix early deletion of temporary attachments

Authored by aheinecke on Apr 11 2018, 4:12 PM.

Description

Fix early deletion of temporary attachments

* src/mail.cpp (add_attachments): Close handle before
deletion.

This fixes the problem that as long as Outlook is open
the temporary files stick around and are not removed.
Which in turn leads to numbers added to the attachments.

Details

Committed
aheineckeApr 11 2018, 4:12 PM
Parents
rO49d53c7dfdc1: Fix spelling in german propchange warning
Branches
Unknown
Tags
Unknown
Tasks
T3886: attachments can't be removed