On 8/13/07, Nat Burke <[EMAIL PROTECTED]> wrote: > > Hitting another problem, hoping someone can point out my mistake. I'm > trying to send out XHTML formatted text to an AIM user via pyAIMt. I've > formatted a message that looks like this: > Unfortunately it does not get through to the AIM user. If I strip off all > the XHTML stuff and just do: > it works - so I know everything is ok in terms of connection etc. I also > made sure the disable XHTML is left commented in the config.xml file. I'm > probably missing something small - can anyone help?
You probably need to send: <message type=chat to="[EMAIL PROTECTED] <[EMAIL PROTECTED]>" id="1234"> <body>hi!</body> <html xmlns='http://jabber.org/protocol/xhtml-im' <http://jabber.org/protocol/xhtml-im%27>> <body xmlns='http://www.w3.org/1999/xhtml' <http://www.w3.org/1999/xhtml%27>> <b>hi!</b> </body> </html> </message> I don't think it's valid to send only html, without a plain-text body. My guess is also that PyAIMt ignores the html part, and only uses the plain-text body. (i.e. PyAIMt can only generate html, and not consume it) -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/
_______________________________________________ py-transports mailing list py-transports@blathersource.org http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports