[ejabberd] Push message to XMPP client

Badlop badlop at gmail.com
Wed Oct 27 22:09:59 MSD 2010

2010/10/27 Meng Zhang <tomengzhang at gmail.com>:
> we want to push a message to a particular XMPP
> client from our XMPP extension server at any time. What are the solutions to
> do this?

Check mod_admin_extra from ejabberd-modules SVN,
specifically the command send_message_chat

How to execute the command in the shell:
ejabberdctl send_message_chat bot at localhost badlop at localhost/tka
\"Some trees are green.\"

You could also execute it with an XML-RPC call, or a HTTP POST request
if you install the proper ejabberd modules.


More information about the ejabberd mailing list