Send a message to SmartCode