Diffusion GpgOL 2426ff7d1a5d

Fix content-type detection for headerless mails

Authored by aheinecke on Mar 27 2019, 10:53 AM.

Description

Fix content-type detection for headerless mails

* src/mapihelp.cpp (mapi_get_message_content_type):
Check first attachment if mail has no headers.

Yep that happens. I could reproduce it by looking at
sent mails in a local data file. This is very likely
the cause for: