Re: [Evolution-hackers] Raw access to message
- From: Stefan Schulze Frielinghaus <stefan seekline net>
- To: Jeffrey Stedfast <fejj novell com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] Raw access to message
- Date: Thu, 11 Mar 2010 17:50:50 +0100
On Do, 2010-03-11 at 10:45 -0500, Jeffrey Stedfast wrote:
> On 03/11/2010 09:16 AM, Stefan Schulze Frielinghaus wrote:
> > Hi,
> > Is it possible to get raw access to an email (including header and
> > body)? Or, if that is not possible, raw access to the body of the
> > message?
> > Raw access is important for me because I want to write a plugin which
> > uses some kind of cryptography, e.g. character encoding is important to
> > me.
> You can get the raw message from a CamelMimeMessage object by writing it
> to a stream buffer.
This sounds great. I'm quite new to evolution could you give me a hint
how to do that? I'm starting with an EMEventTargetMessage object where I
can get an CamelMimeMessage object from. But how can I dump this one
into a stream? Writing to a stream requires a buffer of type gchar, but
I have a CamelMimeMessage object and I even do not know the length of
the message. What function calls could I look at?
] [Thread Prev