ejabberd icon indicating copy to clipboard operation
ejabberd copied to clipboard

send_message with mod_admin_extra

Open shyaken opened this issue 11 years ago • 6 comments

I'm new to ejabberd and I'm finding how to send message to other user using send_message in mod_admin_extra but I don't receive anything at client. I cannot find any guide about using this function from any resource online, this is how I tried to send message:

image

please tell me if I'm doing something wrong?

shyaken avatar May 20 '15 03:05 shyaken

Try something like:

ejabberdctl send_message headline [email protected] [email protected] \"That\'s the title\" \"Hi. Spaces are possible.\"
ejabberdctl send_message chat [email protected] [email protected] \"\" \"Hi. Spaces are possible.\"

sezuan avatar May 20 '15 04:05 sezuan

I've tested, client receive nothing :'(

shyaken avatar May 20 '15 08:05 shyaken

image this is what I called and what my log printed out when it receive that calling. Please help me, I think it maybe caused by my mod s2s?

shyaken avatar May 20 '15 08:05 shyaken

Is debug.beta.sembangchat.com the name of the server you're running that ejabberdctl command on? Or are you running it from a different server?

weiss avatar May 20 '15 08:05 weiss

oh, that's my mistake :'( my ejabberdctl is running with another host. Big thanks to Weiss

shyaken avatar May 20 '15 08:05 shyaken

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jun 12 '19 12:06 lock[bot]