Sending message from to account fails?

I just started to use Smack and I quickly managed to make a simple application with it. Now I ran into a problem when I tried to send a message to an account registered at (I’'m logged in to account with my Smack application). The message I send to account only comes back to my Smack client (to the account where the message originates) and never gets to the account. If I use some account as target account the message gets delivered just fine.

Why is this? Is there some sort of restriction or is this somehow fixable?

If you get the same message back, check for an error tag in it (getError()). You might get more information on what happened in that one.