Hi,
I'm trying to send a message to a user via XMPP - but I want them to
receive a clickable word.
I'm using Python 2.4 on RHEL 5.4 and python-xmpp-0.4.1-6 from EPEL.
I've tried variations on:
>>> jid = xmpp.protocol.JID('[email protected]')
>>> cl = xmpp.Client(jid.getDomain())
>>> cl.connect()
>>> cl.auth(jid.getNode(),'notgoodenough')
>>> cl.send(xmpp.protocol.Message("[email protected]", "<html
>>> xmlns='http://jabber.org/protocol/xhtml-im'><body
>>> xmlns='http://www.w3.org/1999/xhtml'><p><a
>>> href='http://rt.sekrit.org.uk/rt3/Ticket/Display.html?id=#77'>Ticket #77
>>> updated.</a></p></body></html>"))
But every time I just receive the raw html....
Any idea what I am doing wrong?
S.
--
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor