Handle ms-tnef classified PGP/Inline mails
* src/mail.cpp (get_attachment_stream): Add fallback if attachment count is zero even if we think it's ciphered. * src/mapihelp.cpp (get_internetcharsetbody_tag): Not getting internet charset body happens for ms-tnef. Debug only. (get_msgcls_from_pgp_lines): Use mapi_get_body_as_stream. (change_message_class_ipm_note): Look into application/ms-tnef.
Some mails have content type ms-tnef but PGP/Inline body.
For those mails it also does not work to access our created
MOSS attachment trough OOM. So we now handle that and use
the MAPI Body directly.
- GnuPG-Bug-Id: T3419