All,

After a build I send an email notification for PASS/FAIL.
The problem is that sometimes I get this IO error.

Have anyone ran to this problem before?
I am using ant version 161 and 162. In either cases I am getting the
same error.
I would appreciate any help.

hmpsuccess:
     [mail] Sending email: successfull INTEL HMP build
     [mail] Failed to send email

BUILD FAILED
V:\ccadm_gdibi3\buildVOB\autobuild\simple3.xml:105: Following error
occured while executing this line
V:\ccadm_gdibi3\buildVOB\autobuild\simple3.xml:115: IO error sending
mail


Example of code.

          <condition property="isdnSuccessful">
              <equals arg1="${isdnResult}" arg2="0" />
          </condition>
          <antcall target="isdnsuccess"/>
          <antcall target="isdnfail"/>
  </target>

  <target name="isdnsuccess" if="isdnSuccessful">
       <mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
             subject= "Successfull Isdnss build"
             encoding="plain"
             from="${mail.fromlist}" tolist="${mail.tolist}"
             files="${build.log}/isdnss/data.txt">
     </mail> 
     <copy
file="${drive}/${new.BUILD_VIEW}/buildVOB/autobuild/vxmlmtc2.4"
        
tofile="${std.app}/vxml_mtc/Trace_output/${old.label.product}ISDNSS_${ne
w.ISDNSSVOB_BLD}PASS_${STAMP}"/>
  </target>

  <target name="isdnfail" unless="isdnSuccessful">
       <mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
             subject= "Isdnss build failed"
             encoding="plain"
             from="${mail.fromlist}" tolist="${mail.tolist}"
             files =
"${build.log}/${isdnss.mtc.collection}/build.report,${build.log}/missing
.err">
     </mail>
     <copy
file="${drive}/${new.BUILD_VIEW}/buildVOB/autobuild/vxmlmtc2.4"
        
tofile="${std.app}/vxml_mtc/Trace_output/${old.label.product}ISDNSS_${ne
w.ISDNSSVOB_BLD}FAIL_${STAMP}"/>
       <fail message="Build failed"/>
  </target>

This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential and is intended exclusively for the person(s) to 
whom it is addressed. Any use, copying, retention or disclosure by any person 
other than the intended recipient or the intended recipient's designees is 
strictly prohibited. If you are the intended recipient, you must treat the 
information in confidence and in accordance with all laws related to the 
privacy and confidentiality of such information.  If you are not the intended 
recipient or their designee, please notify the sender immediately by return 
e-mail and delete all copies of this email, including all attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to