ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Kulkarni" <vkulka...@icope.com>
Subject Re: MailLogger
Date Wed, 20 Mar 2002 15:52:30 GMT
You could try this:

<target name="sendmail" depends="init">
  <mail from ="self@abc.com"
   tolist ="self@abc.com"
   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  ="xyz@abc.com, abc@abc.com"
    from   ="self@abc.com"
    subject  ="Results of nightly build: ${TODAY}" >
    <fileset dir="${srcdir}">
     <include name="${build.log}"/>
    </fileset>
 </mimemail>

-vikram
www.icope.com

----- Original Message -----
From: "Venkatesh Jayaraman" <vjtones@hotmail.com>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message