powered by Jive Software

Help! html formatted message!

Hi,

Problem: send and receive message with html payload.

Here the code:

Message sms=new Message();

sms.setTo("donatosca@jabber.linux.it");

XHTMLExtension html=new XHTMLExtension();

html.addBody(PannelloHTML.getText());

sms.addExtension(html);

conn2.sendPacket(sms);

The receiver’'s connection shut down…

It’'s only a server problem?

Hey Donato,

Follow this link to learn how to compose, send and receive XHTML messages. http://www.jivesoftware.com/builds/docs/smack/latest/documentation/extensions/in dex.html

Let me know if you are still having problems with XHTML.

Ciao,

– Gato