Class MailPostServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----MailPostServlet
- public class MailPostServlet
- extends HttpServlet
-
MailPostServlet()
-
-
doPost(HttpServletRequest, HttpServletResponse)
-
-
getHostname()
-
-
init(ServletConfig)
-
-
mailer(String, String, String, String)
-
-
poster(String, String, String, String, String)
-
MailPostServlet
public MailPostServlet()
init
public void init(ServletConfig config) throws ServletException
- Overrides:
- init in class GenericServlet
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException
- Overrides:
- doPost in class HttpServlet
poster
public static void poster(String server,
String newsgroup,
String article,
String whopost,
String subject) throws IOException
mailer
public static void mailer(String fromAddr,
String toAddr,
String sub,
String msg) throws IOException
getHostname
public static String getHostname()