Initial implementation of send message.