I would believe so. Might take a bit of work though. You might want to get a packet sniffer and figure how it sends a message and to where, then use socket functions. Should be the same basic idea as if you where checking a POP3 account.
Basic idea would probably be:
You would open a connection to the server on port X?
Send commands to login most likely.
Send command and message.
Close connection.