if ( "ADMIN".equals(sendRenewalNoticeTo) ) {
accountRequestMail.sendRenewalNoticeToAdministrator(result);
log.info("Sent Renewal Notice to administrator.");
} else {
for (Iterator itr = result.iterator(); itr.hasNext();) {
AccountRequest accountRequest = (AccountRequest)itr.next();
sendRenewalNotice(accountRequest, param);
}
}
} catch (Exception e) {
log.error(e.getMessage(), e);