class MailerWithTemplate {

    public MailerResult sendMailUsingTemplateContext(OLATPrincipal recipientTO, List<? extends OLATPrincipal> recipientsCC, List<? extends OLATPrincipal> recipientsBCC,
            MailTemplate template, OLATPrincipal sender) {
        MailerResult result = new MailerResult();
        sendWithContext(template.getContext(), recipientTO, recipientsCC, recipientsBCC, template, sender, result);
        return result;
    }

    private  MailerWithTemplate();
    private  MailerWithTemplate(MailPackageStaticDependenciesWrapper webappAndMailHelper);

}