Implemented command handler for sending sms messages.