ejabberdctl send_stanza_c2s

revision 2b3be01f3a8fee87552826ca337d0351c75729c1

raw

0-README.rst

It's possible to send a custom message (with HTML even) to someone with ejabberdctl, but it required an orgy of escaping foo.

Note that the resource (in this example "Psi+") has to be online.

raw

1-command.sh

1
2
$ ejabberdctl send_stanza_c2s alice example.org "Psi+"\
   "<message' 'type=\"chat\"' 'to=\"bob@example.org\"' 'from=\"alice@example.org\"><body>World</body></message>"

History