Jeff is correct, although you should probably use the camel_medium_get_headers() method, it will return a GPtrArray of CamelMediumHeader values, in the correct order.
These values can recreate the raw headers by just concatening header + ":" + value (that will preserve any leading whitespace in the header). I can't remember if it folds the lines first, or if they are stored unfolded - either way it should be parsable into the same content. On Wed, 2003-01-22 at 01:15, Jeffrey Stedfast wrote: > CamelMimePart::headers is a linked list of name/value pairs (I think it > might also have an off_t offset into the stream). > > Jeff > > On Tue, 2003-01-21 at 09:27, Dave Kelly wrote: > > Hello, > > > > I'd like to be able to write the headers of a message to a separate file > > but I can't find a way to get the raw headers from CamelMimeMessage (or > > CamelMimePart / CamelMedium). The only method I can see is to get them > > as a GArray. > > > > Is there a method I may have missed ? > > > > Cheers > > > > Dave. > > > > > > _______________________________________________ > > evolution-hackers maillist - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/evolution-hackers > -- > Jeffrey Stedfast > Evolution Hacker - Ximian, Inc. > [EMAIL PROTECTED] - www.ximian.com > > > _______________________________________________ > evolution-hackers maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/evolution-hackers _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
