private static Properties asProperties(final Map<String, String> source) {
        val properties = new Properties();
        properties.putAll(source);
        return properties;
    }
This is {@link DefaultEmailSender}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-notifications-api/src/main/java/org/apereo/cas/notifications/mail/DefaultEmailSender.java