maxmetagravity / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

[mod_post_msg] example works without error in bash but no message sent #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use the example curl line for bash, use valid user credentials, try to send 
test message
2. no error message is shown
3. but no message is sent

What version of the product are you using? On what operating system?
latest from repository, latest Prosody 0.9.x nightly build 213

Original issue reported on code.google.com by msebald1...@googlemail.com on 30 Jul 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Make sure to use the full username after the "5280/msg/"

This took me awhile to find add the @example.com to the url for the example to 
make more sense.
curl http://example.com:5280/msg/user@example.com -u me@example.com:mypassword 
-H "Content-Type: text/plain" -d "Server@host has just crashed!"

Original comment by colinweber@gmail.com on 7 Nov 2014 at 3:06