An issue setting the header of a new message



Hi all,

seems that tny_camel_msg_set_header_default changed a little bit
recently. I've been experiencing some problems because now, this
function replaces the mime part that comes with the TnyMsg if
(((TnyCamelHeader *)header)->write).

The problem is the next, if you create a new mime part with the body of
a message and then you create the header, when the new header is set,
then the contents of the body are lost (because if you call any of the
set_* functions like set_from then the value of write will be 1). Is
there any place where the values of write are documented?

Br



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