use of org.broadleafcommerce.common.email.service.info.NullEmailInfo in project BroadleafCommerce by BroadleafCommerce.
the class EmailServiceImpl method sendTemplateEmail.
public boolean sendTemplateEmail(String emailAddress, EmailInfo emailInfo, Map<String, Object> props) {
if (!(emailInfo instanceof NullEmailInfo)) {
EmailTarget emailTarget = emailReportingDao.createTarget();
emailTarget.setEmailAddress(emailAddress);
return sendTemplateEmail(emailTarget, emailInfo, props);
} else {
return true;
}
}
Aggregations