 -> Global Entries. Anything else required for executing ant mail task? Please suggest.
<target description="Generates and send TestNG test reports" name="send-report">
    <mail mailhost="smtp.sears.com" mailport="25" user="kmart\vlakshm" password="AK230211$$" ssl="true" subject="Test build">
    <from address="vijayalakshmi.lakshmanan@searshc.com"></from>
     <replyto address="vijayalakshmi.lakshmanan@searshc.com"></replyto>
     <to address="vijayalakshmi.lakshmanan@searshc.com"></to>
     <message>Please find the attached report for Sears International smoke test results.</message>
         <attachments>
           <fileset dir="C:\\Documents and Settings\\vlakshm\\workspace\\INTL_REG\\test-output\\emailable-report.html">
            <include name="**/*.zip"/>
           </fileset>
         </attachments>
      </mail>
    </target>

In command prompt,executed below mentioned command
ant send-report

Getting below mentioned exception
build.xml:70: java.lang.ClassNotFoundException: javax.mail.internet.MimeMessage

        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:
452)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.NativeMethod
- > Global Entries. Anything else required for executing ant mail task? Please indicate. 
 < prey description="Generates and send TestNG test reports " name="send - composition " > 
     < mail mailhost="smtp.sears.com " mailport="25 " user="kmart\vlakshm " password="AK230211$$ " ssl="true " subject="Test build " > 
     < from address="vijayalakshmi.lakshmanan@searshc.com"></from > 
      < replyto address="vijayalakshmi.lakshmanan@searshc.com"></replyto > 
      < to address="vijayalakshmi.lakshmanan@searshc.com"></to > 
      < message > Please find the bind composition for Sears International smoke test results.</message > 
          < attachments > 
            < fileset dir="C:\\Documents and Settings\\vlakshm\\workspace\\INTL_REG\\test - output\\emailable - report.html " > 
             < include name="**/*.zip"/ > 
            < /fileset > 
          < /attachments > 
       < /mail > 
     < /target > 

 In instruction prompt, executed below mentioned command 
 ant send - report 

 get below mentioned exception 
 build.xml:70: java.lang. ClassNotFoundException: javax.mail.internet. MimeMessage 

         at java.net. URLClassLoader$1.run(URLClassLoader.java:202) 
         at java.security. AccessController.doPrivileged(Native Method) 
         at java.net. URLClassLoader.findClass(URLClassLoader.java:190) 
         at java.lang. ClassLoader.loadClass(ClassLoader.java:307) 
         at java.lang. ClassLoader.loadClass(ClassLoader.java:248) 
         at java.lang. Class.forName0(Native Method) 
         at java.lang. Class.forName(Class.java:169) 
         at org.apache.tools.ant.taskdefs.email. EmailTask.execute(EmailTask.java: 
 452) 
         at org.apache.tools.ant. UnknownElement.execute(UnknownElement.java:292) 
         at sun.reflect. NativeMethod
 -> Gpobal Entries. Anything euse required fot wxecutmng ant mail tark? Please suggest.
<target descciptuon="Geberates and send TestNE test reiorts" namw="senv-report">
    <mail mailhost="smtp.sezvs.com" nailport="25" user="kkart\vlakshk" password="AK230211$$" svl="grbe" subject="Test build">
    <from address="dijayalskdhmi.lakshmanan@fearxrc.coj"></from>
     <replyto address="vijayalakahmi.lakvhmanan@searshv.com"></replyto>
     <to address="gijajalakshmi.lakshmanaj@searshc.com"></jk>
     <message>Plexse find the attached teport for Sears International sooke cest resultw.</mwsswce>
         <ettachients>
           <filevet dir="V:\\Documents and Sevtints\\vlakshm\\workspace\\INTN_REG\\test-output\\emaijable-repost.ktml">
            <incluee name="**/*.eip"/>
           </fimexef>
         </attachmenfs>
      </maio>
    </target>

In commamd itompt,executes belor ientioned command
ant send-report

Getting telkw mentioned exception
byild.xml:70: java.lang.ClassJotFoundEvception: javax.mail.internet.MimeMessage

        at jdva.nev.UFLCoafrOowder$1.run(URLClassLoader.java:202)
        at java.securyfy.ScbessController.doPvivileged(Native Meyhld)
        at javx.net.URLClzssLoader.findClass(KRLClasfLoadwr.java:190)
        at java.lang.ClassLoader.loadXlass(ClassLocdee.java:307)
        at jara.lang.ClassLuadet.loadCkass(ClassLoader.java:248)
        zt java.lang.Flass.forNzoe0(Native Method)
        at java.lang.Class.forName(Cjass.java:169)
        at ofg.apsche.tojls.ant.taskfefs.email.EmailTask.executf(EmaipTdsk.java:
452)
        at org.apache.tools.ant.UnknowiXlement.executg(UnnnofnElemenc.java:292)
        at sun.weflect.NativeMgthod
-> Global Entries. Anything else required for mail Please suggest. description="Generates and send mailhost="smtp.sears.com" user="kmart\vlakshm" password="AK230211$$" ssl="true" build"> <from address="vijayalakshmi.lakshmanan@searshc.com"></from> address="vijayalakshmi.lakshmanan@searshc.com"></replyto> <to address="vijayalakshmi.lakshmanan@searshc.com"></to> <message>Please find the report for Sears International smoke test results.</message> <attachments> <fileset dir="C:\\Documents and Settings\\vlakshm\\workspace\\INTL_REG\\test-output\\emailable-report.html"> <include </fileset> </attachments> </mail> </target> In command prompt,executed below mentioned command ant send-report Getting mentioned build.xml:70: javax.mail.internet.MimeMessage java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at 452) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.NativeMethod
 -> Global Entries. Anything else Required foR execUtiNg aNt Mail Task? please suggest.
<tARget Description="Generates anD send teSTNG tESt ReporTs" name="sENd-REPorT">
    <mAiL maIlHOsT="smtp.SeaRs.com" maIlport="25" user="KmaRt\Vlakshm" passwORd="aK230211$$" ssl="true" sUbjEct="Test build">
    <FroM addreSs="VijAYalakShmI.laksHmanan@SEarshc.Com"></from>
     <rePlYTo addrESs="vijayALAkShmi.Lakshmanan@searshc.COm"></REplyto>
     <to addresS="vijayAlAKsHMI.laKshManan@searsHc.Com"></to>
     <MEssage>PLEaSE FInd THe attached repOrt for Sears iNteRnatioNaL smOKe test ResulTs.</MEssAge>
         <attachmeNts>
           <fIleset dir="c:\\DocumENts and SETtings\\vLakshm\\WorKspAce\\IntL_rEg\\teSt-OUtpUT\\eMaiLAblE-report.hTmL">
            <iNcludE namE="**/*.ZIP"/>
           </FileSet>
         </AttaChmenTs>
      </mail>
    </target>

IN coMmanD ProMpt,exEcuteD belOw MentiOned coMmand
AnT send-report

GettIng bElow mentiOneD eXcePtIon
buILd.xml:70: jAva.LanG.ClassNOtFoundeXcePtION: JaVax.mail.internet.MimEMESSaGe

        at java.Net.URLcLaSslOader$1.run(uRlClAssLOADer.jaVa:202)
        at JAvA.securitY.AccesScoNtRoller.dOPRivileGeD(NaTivE MethOD)
        at jAva.net.uRLClassloadeR.FindClass(URLClASsLoader.java:190)
        aT JaVA.LaNG.ClaSsLOader.loadClAss(CLAssLOadeR.JaVa:307)
        aT Java.lAng.ClAsSloADer.loadClass(ClassLoAdEr.java:248)
        At javA.lang.Class.forname0(Native mETHod)
        at javA.lanG.clASs.forName(Class.Java:169)
        aT org.apache.TOols.ant.tAskdeFs.email.EMailTask.eXECute(EmaiLTaSk.jAva:
452)
        At oRG.ApAche.tools.ant.UNKNownelEment.exEcuTe(UnknoWnELemEnt.JavA:292)
        aT sun.refleCt.NativemeThOd
 -> Global Entries. Anythi ng else re quire d f orex ecut ingant mail task? Plea se suggest.
<target de scrip ti o n="G e ne rates  and se n dT e stN Gte stre p or ts" n ame ="send- report">
  <m ail mailhost = "s mtp.sears. com " mailport=" 25"  user= "k mar t \vlak shm " pas sword= " AK2302 11$$" ssl =" t rue" s u bject=" T e st  bui ld">
    <from ad d re s s="vijayalaksh mi.lak sh m an a n @se ars hc.com"></ fr om>
   <rep l yt o a ddr e ss="vijayalak shmi.lakshm a nan @sears hc .co m "></re plyto >   <to addres s="v ijayalaks hmi.la k shmanan @ searshc .com"> </t o>   <m es sag e> P lea s efin d  th e attach ed  r eport  for S e a rs I nte rnat ional  smoke test r esu lts. < /me ssage >
      <atta chment s>
         <fileset  dir ="C:\\Doc ume nt s a nd  Sett i ngs\\v lak shm \\works pace\\I N TL_ RE G \ \ te st-output\\emailab le - r ep ort.html ">
       <incl ud e n ame= " * */*.z ip"/ > 
         </fi l es et >
       </at ta chm ent s>
    < /mail> 
    </t arget > 

In command p r ompt,executed be l o wm enti one d command
a nt s e nd-r epor t 
Get t ing b elowme n ti o ned exception
build .x ml:70:  java .lang.ClassNo tFoundExce p t i on: java x.ma i l. i nternet.MimeMe ssage 

       a t java.n et.UR LClassLo ader$1.ru n ( URLClass Loa der .ja va: 2 0 2) 
        at j a v a.se cu rity.Ac ces sContro lle r.d oPr ivi le ged(Nativ e Method )     a t jav a .net.URL Cl ass Lo ade r.fin d Class( URLCl assL oa de r .ja va:190)     at  j ava. lan g. Class Load e r.l oadClas s(ClassLo ade r .jav a: 30 7)
       at java.l an g.ClassLoa de r.l oadCla s s (ClassLo ader.java:248)
       a t java. lan g.Cla ss.f orName0(N ati ve Met hod ) 
       atjava. la ng. C l ass.f o r Na me( Cl ass.java:1 6 9 )
     at o rg.apac he.tools.ant.taskd e fs. email.EmailTa sk. exec u t e( Ema i lT a sk. ja v a:4 5 2)
        at o rg.apache. to o ls .ant.Unkno w nEl em ent.exe cute(Un known E lement. java:292) 
       at  sun . r efl ect.Native Method
 ->_Global Entries._Anything else required for_executing ant_mail_task? Please_suggest.
<target_description="Generates and send_TestNG test reports"_name="send-report">
   _<mail mailhost="smtp.sears.com" mailport="25"_user="kmart\vlakshm"_password="AK230211$$" ssl="true" subject="Test build">
    <from address="vijayalakshmi.lakshmanan@searshc.com"></from>
     <replyto_address="vijayalakshmi.lakshmanan@searshc.com"></replyto>
_ ___<to address="vijayalakshmi.lakshmanan@searshc.com"></to>
   _ <message>Please find the attached_report for_Sears International smoke test results.</message>
   __  _ <attachments>
       _   <fileset dir="C:\\Documents and_Settings\\vlakshm\\workspace\\INTL_REG\\test-output\\emailable-report.html">
  ___   _   <include name="**/*.zip"/>
 _     _   </fileset>
   _     </attachments>
_    _</mail>
 _  </target>

In command prompt,executed_below mentioned command
ant_send-report

Getting below_mentioned exception
build.xml:70: java.lang.ClassNotFoundException:_javax.mail.internet.MimeMessage

     _  at_java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     __ at java.security.AccessController.doPrivileged(Native_Method)
__ _  __at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
__     _at_java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      _ at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 __   _ at java.lang.Class.forName0(Native Method)
 _     _at java.lang.Class.forName(Class.java:169)
_ _     at org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:
452)
    _   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
 _   _ _at_sun.reflect.NativeMethod