Print warning when unsupported attachs are found
authorAndre Heinecke <aheinecke@gnupg.org>
Mon, 25 Mar 2019 08:20:06 +0000 (09:20 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Mon, 25 Mar 2019 08:20:06 +0000 (09:20 +0100)
commita5bca65f6fd7efec1ac34eb321630964db7ca970
tree1a515ed78912d23bb8c272c0ae5cf944d728cdc8
parent0c14b4bbd13abfe50cf1d629e7c70a364d6e9ef9
Print warning when unsupported attachs are found

* po/POTFILES.in: Add mimemaker.
* src/mimemaker.cpp (count_usable_attachments): Also count
OLE and embedded.
(write_attachments): Print warning in case such an attach
was found.
(add_body_and_attachments): Forward error.

--
This should only show when we previously would have
ignored an attachment. Siliently ignoring attachments
like appointments can lead to ugly communication.

GnuPG-Bug-Id: T4184
po/POTFILES.in
src/mimemaker.cpp