package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.apache.jasper.runtime.*; public class sendmail_jsp extends HttpJspBase { private static java.util.Vector _jspx_includes; public java.util.List getIncludes() { return _jspx_includes; } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; javax.servlet.jsp.PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html;charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("
\r\n"); out.write("This page will send an electronic mail message via the\r\n");
out.write("javax.mail.Session");
out.write("
resource factory that is configured into\r\nthe JNDI context for this web application. Before it can be used\r\nsuccessfully, you must take note of the following:");
out.write("
conf/server.xml");
out.write("
file and change the value for the\r\n ");
out.write("mail.smtp.host");
out.write("
parameter to the name of a host that provides\r\n SMTP service for your network.");
out.write("