There’s no API to clone, but you can write the message to a stream (mem?) and then re-parse.
Hope that helps,
Jeff
From: gmime-devel-list <gmime-devel-list-bounces@
gnome.org > on behalf of Kane Kim <kane isturm gmail com>
Date: Thursday, August 3, 2017 at 1:16 PM
To: "gmime-devel-list gnome org" <gmime-devel-list gnome org>
Subject: [gmime-devel] copy gmimemessage
Hello,
I need to parse message and then make separate independent modifications and export back to mime. Is there any way to copy message right after parsing stage so we can modify them independently?
Thanks.