ejabberdctl send_stanza_c2s

revision 200e72cb561936707dd4748f2961a59af4a0333a

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

History