Examples of Sendmail


Examples of utility.SendMail

  /**
   * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
   */
  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    SendMail t = new SendMail();
    try {
      String content="Merci de vous �tres inscrit sur notre site de jeux en ligne" +
          "<br>Recapitulatif d'information :" +
          "<br> login:"+request.getParameter("login") +
          "<br> mot de pass:"+request.getParameter("pwd")+
          "<br>Cliquer <a href='http://localhost:8080/in56/AccountValidation?id="+request.getParameter("login")+"'>ici</a> pour valider votre inscription";
      t.run(request,"Validation inscription jeux IN56",content,request.getParameter("email"));
    } catch (MessagingException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    UserDAOInterface a = new JDBCUserDAO();
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.