throw new InputException(getResources(req).getMessage(locale,"smssvc.messageLongerThan450characters"));
}
SmsCommandEntry smsCommandEntry = new SmsCommandEntry();
Group group = groupFromSession(req);
checkAccessRights(req, group);
Sender sender = senderFromMsisdn(req, msgForm.getSendingMsisdn(), group);
SmsTextValidator.checkForValidLatin1AndSmsAllowingPlaceholders(msgForm.getMessage(), locale);
smsCommandEntry.setSender(sender);
smsCommandEntry.setTextContent(messageText);
smsCommandEntry.setDelayInSeconds(msgForm.getDelayInSeconds());