< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Retrieving the body in a Message


Hi All,

I have problem retrieving the text in the body of a Message (The actual Message message for IM).

I use the following code:

Contents    *body = message.getContents();
const char  *str = body->getBodyData().c_str();

This works if the text in the body is less than 16 characters and doesn't work for longer texts.

Am I doing anything wrong?
Is there a bug in Resiprocate?
Is there a better way to retrieve the text in the body?

Thanks,
Ali