# Cant send message from xmpp node

**URL:** <https://discourse.nodered.org/t/cant-send-message-from-xmpp-node/17515>\
**Category:** General\
**Created:** [5 November 2019 04:50 UTC](https://discourse.nodered.org/t/cant-send-message-from-xmpp-node/17515 "2019-11-05T04:50:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdiehl](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mdiehl](https://discourse.nodered.org/u/mdiehl)\
**Post date:** [5 November 2019 04:50 UTC](https://discourse.nodered.org/t/cant-send-message-from-xmpp-node/17515/1 "2019-11-05T04:50:17Z")

</div>

Hi all.

I'm trying to send a message from node-red to a jabber server. I get the account logged in and it can receive messages from my chat client.

However, when I try to inject a message to the jabber output, it doesn't arrive. The console shows the message.

Here is the (sanitized) two-node flow:

[  
{  
"id": "3f1c01d4.3e96ee",  
"type": "xmpp out",  
"z": "88ebfe82.52269",  
"name": "[John.doe@jabber.example.com](mailto:John.doe@jabber.example.com)",  
"server": "7a092adf.cb5bac",  
"to": "[John.doe@jabber.example.com](mailto:John.doe@jabber.example.com)",  
"join": false,  
"sendObject": true,  
"x": 490,  
"y": 600,  
"wires": ,  
"inputLabels": [  
"test"  
]  
},  
{  
"id": "2cd2387f.62adc8",  
"type": "inject",  
"z": "88ebfe82.52269",  
"name": "",  
"topic": "",  
"payload": "{"msg": "Testme out"}",  
"payloadType": "json",  
"repeat": "",  
"crontab": "",  
"once": false,  
"onceDelay": 0.1,  
"x": 160,  
"y": 560,  
"wires": [  
[  
"3f1c01d4.3e96ee",  
"36503008.c585c"  
]  
],  
"outputLabels": [  
"test"  
]  
},  
{  
"id": "7a092adf.cb5bac",  
"type": "xmpp-server",  
"z": "",  
"user": "[jarvis@jabber.example.com](mailto:jarvis@jabber.example.com)",  
"nickname": "Jarvis"  
}  
]

Any ideas what I'm doing wrong?

TIA,

Mike.
