title: How to send message using xmpppy to a jabber client?
body: <p>I've to send xmpp based chat client (hipchat) and I'm using <a href="http://xmpppy.sourceforge.net/" rel="nofollow">xmpp.py</a> for this purpose. For now, I'm trying to send message from shell. Following are the statements that I'm executing from the shell:</p>
  
  <pre><code>&gt;&gt;&gt; import xmpp
  &gt;&gt;&gt; jid = xmpp.protocol.JID('99999_9999@chat.hipchat.com')
  &gt;&gt;&gt; cl=xmpp.Client(jid.getDomain(),debug=[])
  &gt;&gt;&gt; cl.connect()
  'tls'
  &gt;&gt;&gt; cl.auth(jid.getNode(),'password')
  'sasl'
  &gt;&gt;&gt; cl.send(xmpp.protocol.Message('99999_9999@chat.hipchat.com','hey!'))
  '3'
  </code></pre>
  
  <p>I'm using the same jabber id for authentication and as a receiver. I'm also online in chat room but I don't get any message. What's missing?</p>