Class MailPostServlet

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----MailPostServlet

public class MailPostServlet
extends HttpServlet

Constructor Index

 o MailPostServlet()

Method Index

 o doPost(HttpServletRequest, HttpServletResponse)
 o getHostname()
 o init(ServletConfig)
 o mailer(String, String, String, String)
 o poster(String, String, String, String, String)

Constructors

 o MailPostServlet
 public MailPostServlet()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Overrides:
init in class GenericServlet
 o doPost
 public void doPost(HttpServletRequest request,
                    HttpServletResponse response) throws IOException, ServletException
Overrides:
doPost in class HttpServlet
 o poster
 public static void poster(String server,
                           String newsgroup,
                           String article,
                           String whopost,
                           String subject) throws IOException
 o mailer
 public static void mailer(String fromAddr,
                           String toAddr,
                           String sub,
                           String msg) throws IOException
 o getHostname
 public static String getHostname()