jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
113 stars 36 forks source link

Support writing GMimeObject content-only (i.e. no headers) to a stream #97

Closed mjog closed 3 years ago

mjog commented 4 years ago

For Geary it would be useful to be able to write the contents of a GMimeObject to a stream. There's existing support for this in the code base, but the only way to do this using the public API at the moment is to hide all headers present on the object using GMimeFormatOptions, which is inconvenient.