Re: [gmime-devel] copy gmimemessage



What would be more efficient? Reparse message, or construct new messages manually?

On Thu, Aug 3, 2017 at 11:15 AM, Jeffrey Stedfast <jestedfa microsoft com> wrote:

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.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]