It should be noted that you are using ant's mail task.
I'd recommend searching the web for more information. >From a google search using the keywords <ant "mail task"> I found the following link http://johnbokma.com/mexit/2006/02/21/ant-mail-task.html ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dinesh Kumar Sent: Tuesday, April 22, 2008 9:22 AM To: [EMAIL PROTECTED] Subject: Re: [Webtest] How to trigger the mail once the test is over Hi , Can some one help me out on this... Thanks, Dinesh ----- Original Message ---- From: Dinesh Kumar <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, 22 April, 2008 12:04:56 PM Subject: Re: [Webtest] How to trigger the mail once the test is over Thanks Andrew, It works. Mail has been sent but in encrypted format. begin 644 index.html M/"%$3T-465!%([EMAIL PROTECTED]"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@ M5')A;G-I=&EO;F%L+R]%3B(B:'1T<#HO+W=W=RYW,RYO<F<O5%(O:'1M;#0O M;&]O<V4N9'1D(CX-"CQH=&UL(&QA;F<](F5N(CX-"CQH96%D/@T*/$U%5$$@ M:'1T<"UE<75I=CTB0V]N=&5N="U4>7!E(B!C;VYT96YT/2)T97AT+VAT;6P[ How to send it in Pure html format , Here is the script used <mail mailhost="mail.dcis.net" subject="Test results"> <from address="[EMAIL PROTECTED]"/> <to address="[EMAIL PROTECTED]"/> <message> Test </message> <fileset dir="C:\Program Files\webtest\prabhu\results"> <include name="index.html"/> </fileset> Thanks, Dinesh ----- Original Message ---- From: "Shirshac, Andrew" <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, 18 April, 2008 9:57:25 PM Subject: Fw: [Webtest] How to trigger the mail once the test is over Here's and example using Ant Mail. Sends dynamic property with my failure flag property and output files attached. <target name="mailIt"> <mail mailhost="xxx..yyy.companyname.COM" subject="Test results"> <from address="[EMAIL PROTECTED]"/> <to address="[EMAIL PROTECTED]"/> <message>The ${resultpath} nightly build has completed as resultproperty: testFailureFlag:${testFailureFlag} </message> <fileset dir="${resultpath}"> <include name="${canoo.htmlfile}"/> </fileset> </mail> </target> Regards, Andrew ________________________________ Bollywood, fun, friendship, sports and more. You name it, we have it.. <http://in.rd.yahoo.com/tagline_groups_1/*http:/in.promos.yahoo.com/grou ps/bestofyahoo/> ________________________________ Meet people who discuss and share your passions. Join them now. <http://in.rd.yahoo.com/tagline_groups_7/*http:/in.promos.yahoo.com/grou ps/bestofyahoo/>

