Roundcube Community Forum

 

Convert rcube_message back to raw message string

Started by ktwalrus, February 10, 2014, 03:30:05 PM

Previous topic - Next topic

ktwalrus

I'm a newbie trying to use the Roundcube Framework to fetch all messages from specific mailbox, reformat/change the from, to, cc, subject, and some other headers, and then convert rcube_message back to a raw message string for sending on to another mailbox.

I can't find a function to convert the internal rcube_message back to a string (or save it to a file).

How do I do this?