[reSIProcate] Retrieving the body in a Message

Ali Pey alipey at gmail.com
Tue Nov 21 16:01:43 CST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061121/f77a286c/attachment.htm>


More information about the resiprocate-devel mailing list