buf.append("\n");
buf.append(emailBody);
buf.append("\n");
MailService mailService = new MailService(this.getFromAddr(), this.getToAddr() , "Error in EnterpriseSyncErrorLogger", buf.toString());
mailService.setMailHost(this.getMailHost());
mailService.sendMessage();
}
catch (Exception exc) {
logger.info("Error sending email message - " + exc);
}
}