<div class="gmail_quote">On Thu, Dec 10, 2009 at 3:29 PM, Stephen Nelson-Smith <span dir="ltr">&lt;<a href="mailto:sanelson@gmail.com">sanelson@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I&#39;m trying to send a message to a user via XMPP - but I want them to<br>
receive a clickable word.<br>
<br>
I&#39;m using Python 2.4 on RHEL 5.4 and  python-xmpp-0.4.1-6 from EPEL.<br>
<br>
I&#39;ve tried variations on:<br>
<br>
&gt;&gt;&gt; jid = xmpp.protocol.JID(&#39;<a href="mailto:motherinlaw@jabber.sekrit.org.uk">motherinlaw@jabber.sekrit.org.uk</a>&#39;)<br>
&gt;&gt;&gt; cl = xmpp.Client(jid.getDomain())<br>
&gt;&gt;&gt; cl.connect()<br>
&gt;&gt;&gt; cl.auth(jid.getNode(),&#39;notgoodenough&#39;)<br>
&gt;&gt;&gt; cl.send(xmpp.protocol.Message(&quot;<a href="mailto:snelsonsmith@jabber.sekrit.org.uk">snelsonsmith@jabber.sekrit.org.uk</a>&quot;, &quot;&lt;html xmlns=&#39;<a href="http://jabber.org/protocol/xhtml-im" target="_blank">http://jabber.org/protocol/xhtml-im</a>&#39;&gt;&lt;body xmlns=&#39;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#39;&gt;&lt;p&gt;&lt;a href=&#39;<a href="http://rt.sekrit.org.uk/rt3/Ticket/Display.html?id=#77" target="_blank">http://rt.sekrit.org.uk/rt3/Ticket/Display.html?id=#77</a>&#39;&gt;Ticket #77 updated.&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;))<br>


<br>
But every time I just receive the raw html....<br>
<br>
Any idea what I am doing wrong?<br><br></blockquote><div><br></div><div>I don&#39;t know anything about xmpp, but you could try receiving a message and inspecting how that is built?</div><div><br></div><div>HTH,</div><div>

Wayne </div></div>