Package org.openeai.loggingutils

Examples of org.openeai.loggingutils.MailService.sendMessage()


      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);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.