Package com.uphea.domain

Examples of com.uphea.domain.EmailMessage


  /**
   * Creates welcome message.
   */
  public void createWelcomeMessage(User user) {

    EmailMessage emailMessage = new EmailMessage();
    emailMessage.setCreated(new JDateTime());
    emailMessage.setDestination(user.getEmail());
    emailMessage.setSource(defaultFromAddress);
    emailMessage.setTemplate(DEFAULT_EMAIL_TEMPLATE);

    Map<String, Object> ctx = new HashMap<String, Object>(1);
    ctx.put("user", user);

    try {
View Full Code Here


  /**
   * Creates lost password message.
   */
  public void createLostPasswordMessage(User user, UserUid userUid) {
    EmailMessage emailMessage = new EmailMessage();
    emailMessage.setCreated(new JDateTime());
    emailMessage.setDestination(user.getEmail());
    emailMessage.setSource(defaultFromAddress);
    emailMessage.setTemplate(DEFAULT_EMAIL_TEMPLATE);

    Map<String, Object> ctx = new HashMap<String, Object>(2);
    ctx.put("user", user);
    ctx.put("userUid", userUid);
    ctx.put("app", appData);
View Full Code Here

TOP

Related Classes of com.uphea.domain.EmailMessage

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.