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
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
Meet people who discuss and share your passions. Go to
http://in.promos.yahoo.com/groups/bestofyahoo/