You could try this:

<target name="sendmail" depends="init">
  <mail from ="[EMAIL PROTECTED]"
   tolist ="[EMAIL PROTECTED]"
   subject ="Results of nightly build for ${TODAY}"
   files ="E:\Projects\build.log"
   mailhost="add the ip address of mail server"/>

</target>


You could possibly try this for sending as attachment.

 <mimemail message  ="Please see attached file."
    messageMimeType ="text/plain"
    mailhost  ="<ip address of your mail server"
    tolist  ="[EMAIL PROTECTED], [EMAIL PROTECTED]"
    from   ="[EMAIL PROTECTED]"
    subject  ="Results of nightly build: ${TODAY}" >
    <fileset dir="${srcdir}">
     <include name="${build.log}"/>
    </fileset>
 </mimemail>

-vikram
www.icope.com

----- Original Message -----
From: "Venkatesh Jayaraman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 8:52 PM
Subject: MailLogger


> i'm using the MailLogger thru my command line ant invokation. however, the
> email that is sent out doesnt contain the build log in the body.
> how do i get the log in the body of my email?
>
> thanks.
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>



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

Reply via email to