You wan to send it when player is in game or when looking at character list/login panel? If the latter then you can't. You have to be connected to the server first to be able to send anything. The moment you login, you are connecting only once and then disconnecting when you get your characters list. Next connection is when you select character and then you are connected all the time when in game, up till you logout.
Reconnection can be done in the client, if you are using OTC then it's as easy as editing client_entergame
module. OTClientV8 has that feature.