MessageRouter does nothing

Hi there!

I execute this simple piece of code in the plugin:

Message acceptMessage = new Message();

acceptMessage.setThread(message.getThread());

acceptMessage.setTo(message.getFrom()); <=====“max@dt-2068.msk.rian/Miranda” string here

acceptMessage.setFrom(message.getTo()); <=====“flagman@dt-2068.msk.rian” string here

acceptMessage.setSubject(“Confirmation”);

acceptMessage.setBody(“Some text here”);

try {

messageRouter.route(message);

} catch (Exception e) {

Log.error(e);

}

User “flagman” not logged in at the moment.

No logs, no errors, nothing in max@dt-2068.msk.rian in Miranda.

What’'s happen?