Since months, I am trying to get sending messages via an ICQ gateway to work. Even with the latest Smack 1.3.0 release the bug occors:
When I am sending a message to email@example.com via Smack I am getting the error reply from the gateway: “Sending message failed, user is not connected”. This is not true, my ICQ user is definately online.
When I am logged into the same Jabber account in parallel from Exodus, the execution of my program indeed sends a message to my ICQ account.
Of course, I have registered my Jabber account for the specific gateway.
Here is my code fragment:
XMPPConnection.DEBUG_ENABLED = true;
XMPPConnection connection =
Chat chat =
Message message = chat.createMessage();
I also tried with 500ms delays between each statement.
Can anyone point me to a solution, please?