[gmime-devel] Extract body with gmime



Hi,
I'm very new to gmime, and I'm writing a linux appliance to convert text from different services (rss, twitter, im, mail) to voice (via festival).
Now I'm focusing on the email client. I've written a simple pop3 client that receives in a buffer the reply of a RETR N.
My idea is to make a chain like buffer->stream->parser->message.
I can extract Sender, Recipient, and Subject form the GMimeMessage, and inspect the content type.
Now I need to extract only the body of the message, leaving out the header, the attachments, and everything that is not plain text or html text.
I'm a little lost in the api... any help is much appreciated.
Bye^^


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