Diffusion GpgOL a49abe7fe79e

Add junk mail handling

Authored by aheinecke on Nov 6 2018, 8:54 AM.

Description

Add junk mail handling

* src/categorymanager.cpp (getJunkMailCategory): New.
* src/mail.cpp (Mail::decryptVerify_o): Handle junk.
* src/mail.h (Mail::m_is_junk): New.

Junk mails are special. An addon can't access the attachments
so we can't decrypt PGP-MIME. We just add a marker to let
the user now and register our folder event handler so
that the mail can be moved out of junk.

Details

Committed
aheineckeNov 6 2018, 8:54 AM
Parents
rOb9dea48de425: Add junk/spam mail folder detection
Branches
Unknown
Tags
Unknown
Tasks
T4188: moving encrypted mails out of Junk folder fails