Package hirondelle.web4j.webmaster

Examples of hirondelle.web4j.webmaster.Emailer


      fLogger.fine("Sending email for password reset. Sending to : "  + user.getEmailAddress());
      String nonce = buildNonceFor(user);
      //technically should be done in a tx, but the likelihood of error is nearly zero.
      dao.setNewNonce(user, nonce);
     
      Emailer emailer = BuildImpl.forEmailer();
      List<String> toEndUser = new ArrayList<String>();
      toEndUser.add(user.getEmailAddress());
      emailer.sendFromWebmaster(toEndUser, buildEmailSubject(user), buildEmailBody(user, nonce));
      addMessage("An email has been sent to that email address. The email contains a special link to let you reset your password.");
    }
  }
View Full Code Here

TOP

Related Classes of hirondelle.web4j.webmaster.Emailer

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.