Package org.broadleafcommerce.common.email.domain

Examples of org.broadleafcommerce.common.email.domain.EmailTargetImpl


    EmailInfo emailInfo = new EmailInfo();
   
    emailInfo.setFromAddress(emailAddress);
    emailInfo.setSubject("Message from " + name);
    emailInfo.setMessageBody("Name: " + name + "<br />Email: " + emailAddress + "<br />Comments: " + comments);
    EmailTargetImpl emailTarget = new EmailTargetImpl();
   
    emailTarget.setEmailAddress(targetEmailAddress);
    try {
      emailService.sendBasicEmail(emailInfo, emailTarget, vars);
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.broadleafcommerce.common.email.domain.EmailTargetImpl

Copyright © 2018 www.massapicom. 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.