Home GnuPG
Diffusion GpgOL a0326ffb755c

Support sending embedded images(multipart/related)
a0326ffb755cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Support sending embedded images(multipart/related)

* src/mimemaker.cpp (add_body_and_attachments): New. Common
multipart handling for the encrypt / sign functions.
* src/mimemaker.cpp (mime_encrypt, do_mime_sign):
Use add_body_and_attachments.
(is_related): New. Check if we have a multipart/related.
(write_attachments): Allow to filter out related attachments.
(write_part): Write Content-ID if there is one.
* src/mymapitags.h (PR_ATTACH_CONTENT_ID): New.

This enables multipart/related and multipart/mixed with a
multipart/related subpart.

Details

Provenance
aheineckeAuthored on Nov 30 2016, 3:34 PM
Parents
rOd46db5899b99: Add content_id to our attach table
Branches
Unknown
Tags
Unknown