ejabberdctl send_stanza_c2s

revision 9133ee5e6bfb71d57d992fef5918c43783b6d10d

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
$ ejabberdctl send_stanza_c2s alice example.org "Psi+" "<message' 'type=\"chat\"' 'to=\"bob@example.org\"' 'from=\"alice@example.org\"><body>World</body></message>"

History