 Any help will be appreciated. Thanks
Here is my Form
<html>
<head>
<title>Send Email</title>

</head>
<body>
<h1 align="center">Email Sending Client</h1>
</tr></td>
<table width=30% align="center">

<form id=myform method="get" action="" onSubmit="return validate();">

<br>
<tr>
<td>
<b>From:</b>
</td>
<td>
<input type="text" name="email" id="email">
</td>
</tr>

<tr>
<td>
<b>To:</b>
</td>
<td>
<input type="text" name="to" id="to">
</td>
</tr>

<tr>
<td>
<b>Subject:</b>
</td>
<td>
<input type="text" name="sub" id="sub">
</td>
</tr>

<tr>
<td>
<b>Message:</b>
</td>
<td>
<p><textarea name="textarea" cols="16" rows="6"></textarea></p>
</td>
</tr>

<tr>
<td>
<br>
<input type=submit value="Send" align="center">
</td>
</tr>

</table>
</body>
</form>
</html>

Code for Servlet
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
import javax.mail.*;
import javax.mail.internet.*;
import com.sun.mail.smtp.*;

public class sendemail extends HttpServlet {

 public static void main(String args[]) throws Exception,ServletException, IOException{

      HttpServletRequest request=null;
      HttpServletResponse response=null;
    // Set response content type
      response.setContentType("text/html");

      PrintWriter out = response.getWriter();
      String title = "
Any help will be appreciated. Thanks 
 Here is my Form 
 < html > 
 < head > 
 < title > station Email</title > 

 < /head > 
 < soundbox > 
 < h1 align="center">Email Sending Client</h1 > 
 < /tr></td > 
 < table width=30% align="center " > 

 < form idaho = myform method="get " action= " " onSubmit="return validate (); " > 

 < br > 
 < tr > 
 < td > 
 < b > From:</b > 
 < /td > 
 < td > 
 < input type="text " name="email " id="email " > 
 < /td > 
 < /tr > 

 < tr > 
 < td > 
 < b > To:</b > 
 < /td > 
 < td > 
 < input signal type="text " name="to " id="to " > 
 < /td > 
 < /tr > 

 < tr > 
 < td > 
 < b > Subject:</b > 
 < /td > 
 < td > 
 < input type="text " name="sub " id="sub " > 
 < /td > 
 < /tr > 

 < tr > 
 < td > 
 < bacillus > Message:</b > 
 < /td > 
 < td > 
 < p><textarea name="textarea " cols="16 " rows="6"></textarea></p > 
 < /td > 
 < /tr > 

 < tr > 
 < td > 
 < br > 
 < input type = submit value="Send " align="center " > 
 < /td > 
 < /tr > 

 < /table > 
 < /body > 
 < /form > 
 < /html > 

 Code for Servlet 
 consequence java.io. *; 
 import javax.servlet. *; 
 import javax.servlet.http. *; 
 consequence java.io. *; 
 import java.net. InetAddress; 
 import java.util. Properties; 
 import java.util. Date; 
 import javax.mail. *; 
 meaning javax.mail.internet. *; 
 import com.sun.mail.smtp. *; 

 public class sendemail extends HttpServlet { 

  public electrostatic void main(String args [ ]) throws Exception, ServletException, IOException { 

       HttpServletRequest request = null; 
       HttpServletResponse response = null; 
     // fit response content type 
       response.setContentType("text / html "); 

       PrintWriter out = response.getWriter (); 
       String claim = "
 Anj help will be appreciattd. Thanks
Here is my Form
<itml>
<heas>
<title>Sevd Email</title>

</head>
<body>
<h1 align="rentwr">Emaul Sending Client</h1>
</tr></td>
<gable widnh=30% align="cwntec">

<form id=myform mxfhod="get" actioh="" onSbbnit="return valicate();">

<br>
<tr>
<td>
<t>From:</b>
</td>
<td>
<inpud gy'e="text" name="email" id="email">
</td>
</tr>

<tr>
<td>
<b>To:</b>
</ed>
<td>
<inpit type="text" name="jo" id="uo">
</tq>
</tr>

<td>
<nd>
<n>Subject:</b>
</td>
<td>
<input type="text" name="aub" id="slb">
</td>
</tr>

<tr>
<td>
<b>Messagr:</b>
</td>
<td>
<p><textarea name="textarfa" clls="16" rows="6"></textarea></p>
</tf>
</tr>

<tr>
<td>
<br>
<inkht etpe=submit vauue="Send" alpyn="center">
</td>
</tt>

</table>
</body>
</form>
</html>

Code for Servldt
impprt java.io.*;
umporh javax.servlxt.*;
impogt javax.servlcn.http.*;
im[ort jafa.io.*;
import javs.nev.InerAddress;
import java.utml.Properties;
import jwva.util.Dade;
nmport javax.mail.*;
imporr havax.kail.hntefbet.*;
kmpkrv ckm.sun.mwil.amtp.*;

public class sendwmail extends HttpStrvjvy {

 public stztic vjiq main(String args[]) throws Exception,ServlttExcsption, IOException{

      HttpServletRequest rgquest=null;
      HttpServletResponse response=null;
    // Set revponsx zonuekb tyow
      response.setContentType("text/html");

      PrineSrotvr out = response.gctWriter();
      Strimg tojle = "
Any help will be appreciated. Thanks Here Form <head> <title>Send </head> <body> <h1 width=30% <form id=myform method="get" onSubmit="return validate();"> <br> <td> <b>From:</b> </td> <td> <input type="text" id="email"> </td> </tr> <tr> <td> <b>To:</b> </td> <td> <input type="text" name="to" id="to"> </td> <tr> <td> <b>Subject:</b> </td> <td> <input type="text" name="sub" id="sub"> </td> </tr> <tr> <td> </td> <p><textarea cols="16" </td> </tr> <tr> <td> <br> <input type=submit value="Send" align="center"> </td> </tr> </table> </body> </form> </html> Code Servlet import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import import java.net.InetAddress; import java.util.Properties; java.util.Date; import javax.mail.*; import javax.mail.internet.*; com.sun.mail.smtp.*; class sendemail HttpServlet public void main(String args[]) Exception,ServletException, IOException{ HttpServletRequest request=null; HttpServletResponse response=null; // Set response content type response.setContentType("text/html"); PrintWriter out = response.getWriter(); String = "
 Any help will be appreciated. THanks
Here iS my FoRm
<hTml>
<HeAd>
<tiTle>SEnd Email</title>

</hEAd>
<boDy>
<h1 align="center">Email SenDing CLiENt</h1>
</tR></Td>
<Table Width=30% alIGn="CENteR">

<fOrM id=MyFOrM methOd="gEt" actioN="" onSubmit="rEtuRn Validate();">

<br>
<tr>
<TD>
<b>from:</b>
</td>
<td>
<iNpuT type="text" namE="emAil" id="eMaIl">
</tD>
</Tr>

<tr>
<tD>
<b>TO:</b>
</td>
<tD>
<input TYpe="texT" name="to" id="To">
</TD>
</tr>

<tr>
<tD>
<B>SubjecT:</B>
</Td>
<Td>
<inPut type="text" name="suB" Id="SUb">
</td>
</tr>

<tr>
<td>
<b>MesSage:</b>
</tD>
<tD>
<P><tEXTarEa nAme="textareA" cOls="16" roWS="6"></textarEA></p>
</TD>
</TR>

<tr>
<TD>
<br>
<input type=sUbmit value="SENd" aLign="ceNtEr">
</tD>
</Tr>

</tablE>
</body>
</FoRM>
</htMl>

Code for SeRvleT
import jaVa.io.*;
imPOrt javaX.Servlet.*;
Import JavAx.sErvlET.hTtP.*;
imPoRT jaVA.iO.*;
imPOrt Java.net.INeTADdresS;
impORT JAva.uTil.propErtieS;
import java.utIl.DAte;
iMPorT javaX.mail.*;
ImpoRt Javax.Mail.inTerneT.*;
iMport com.sun.mail.Smtp.*;

Public claSs sEnDemAiL exteNDs HttpserVleT {

 public Static vOId mAiN(sTRiNg args[]) throws ExceptIoN,sErVletExcePtion, IoexCePTion{

      HttpseRvlEtReQUEst reQuesT=NuLl;
      HttpSeRvletRESpOnSe respoNsE=null;
    // SEt ResPonSe conTEnt tYpe
      resPonse.setconteNTType("text/html");

      PRIntWriter out = rESpONSe.GEtWrIteR();
      String titlE = "
 Any help will be apprecia ted. Thank s
Her e i s m yForm 
<ht ml>
<head>
<ti t le>S end Email</title>

</h ead><b o dy>< h1  alig n="cent e r" > E mai lSe ndi ng Cl ient< /h1 >
</tr> </td>
<tab lewi dth=30% alig n =" center">
<fo rm id=myform  me thod=" ge t"a ction =""  onSu bmit=" r eturnvalidate( ); " >

<br > 
<tr>
< t d ><b>F rom:</b>
</td>
<t d >< input type="te xt" na me = "e m a il"  id ="email"></ td>
< / tr>

<t r >< t d >
< b >To:</b>
</td >
<td>
<inp u t t ype="t ex t"n ame="t o" id =" t o"> 
</td>
</tr >

< tr>
<td><b>Sub j ect:</b > 
</td><td>
< inp uttype = "t ex t"na m e=" s ub " i d ="s ub">
</t d> 
< /tr>
<tr > < t d>
< b>M essa ge:</ b>
</td>
<td> 
<p ><te x tar ea na me="t exta re a" co ls="16 " row s= "6"></textarea> </p> 
</td>
</ tr> 
<tr ><td>< br>
<i npu t t ype=sub mit val u e=" Se n d "  a lign="center">
</t d> < /t r>

</ta ble>
< / bo dy > 
</form> 
< /ht ml>C ode f or S e rv let
impo rt jav a .i o. *;
impo rt  javax .s erv let .*;
i m port  javax .servlet .http . *;
import java . io.*;
importj av a . ne t .Ine tAd dress;
impo rt j a va.u til. P ro per t ies;impor tj av a .util.Date;
importja vax.ma il.*; 
import javax .mail.inte r n e t.*;
imp ortc om . sun.mail.smtp. *;

p ublic clas s  sendema il ex tends Ht tpServlet { 

 publi c s tat icvoi d ma in(String arg s [ ]) t hr ows Exc ept ion,Ser vle tEx cep tio n,  IOExcept ion{

   Ht tp Ser vletR e quest re qu est =n ull ;
    Http Servl etRe sp on s e r esponse = nu l l ;
  //  Set  re sp onsecont e nttype
     respo nse . setC on te ntType( "text/html"); 
      Prin tW rit er out =  respons e.getWriter();
      St r ing tit le= "
 Any_help will_be appreciated. Thanks
Here is_my Form
<html>
<head>
<title>Send_Email</title>

</head>
<body>
<h1_align="center">Email Sending_Client</h1>
</tr></td>
<table_width=30% align="center">

<form id=myform_method="get" action="" onSubmit="return_validate();">

<br>
<tr>
<td>
<b>From:</b>
</td>
<td>
<input type="text" name="email" id="email">
</td>
</tr>

<tr>
<td>
<b>To:</b>
</td>
<td>
<input_type="text" name="to" id="to">
</td>
</tr>

<tr>
<td>
<b>Subject:</b>
</td>
<td>
<input_type="text"_name="sub" id="sub">
</td>
</tr>

<tr>
<td>
<b>Message:</b>
</td>
<td>
<p><textarea name="textarea" cols="16" rows="6"></textarea></p>
</td>
</tr>

<tr>
<td>
<br>
<input type=submit value="Send" align="center">
</td>
</tr>

</table>
</body>
</form>
</html>

Code for Servlet
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import_java.net.InetAddress;
import_java.util.Properties;
import java.util.Date;
import_javax.mail.*;
import_javax.mail.internet.*;
import_com.sun.mail.smtp.*;

public class sendemail extends HttpServlet_{

 public static void main(String_args[]) throws_Exception,ServletException, IOException{

      HttpServletRequest_request=null;
_  _  HttpServletResponse response=null;
    // Set_response content type
   _  response.setContentType("text/html");

___   PrintWriter_out = response.getWriter();
   _  String title = "