Package com.trulytech.mantis.util

Examples of com.trulytech.mantis.util.Mail$PopupAuthenticator


  protected String PerformPost(HttpServletRequest request,
      HttpServletResponse response, SQLParser Parser) throws Exception

  {

    Mail mail = new Mail();
    mail.setFrom(getParameter(request, "from"));
    mail.setTo(getParameter(request, "to"));
    mail.setMsg(getParameter(request, "msg"));
    mail.setSubject(getParameter(request, "subject"));
    mail.setContentType("text/html;charset=gb2312");

    mail.sendMsgMail();

    request.setAttribute("Info", "发送成功!");
    return "success.jsp";
  }
View Full Code Here

TOP

Related Classes of com.trulytech.mantis.util.Mail$PopupAuthenticator

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.