@Override
    public String get() {
        if (StringUtils.isBlank(properties.getText())) {
            LOGGER.warn("No SMS text is defined");
            return StringUtils.EMPTY;
        }
        try {
            val templateFile = ResourceUtils.getResourceFrom(properties.getText());
            try (val is = templateFile.getInputStream()) {
                val contents = IOUtils.toString(is, StandardCharsets.UTF_8);
                return formatSmsBody(contents);
            }
        } catch (final Throwable e) {
            LOGGER.trace(e.getMessage(), e);
        }
        return formatSmsBody(properties.getText());
    }
This is {@link SmsBodyBuilder}.

@author Misagh Moayyed
@since 6.6.0
core/cas-server-core-notifications-api/src/main/java/org/apereo/cas/notifications/sms/SmsBodyBuilder.java