Hello,

--- "Chon, Ae H" <[EMAIL PROTECTED]> wrote:
>             <mail mailhost= "${mail.host}" 
> 
>                   subject     = "BUILD FAILED: 
> ${product.name}
> ${major.ver}.${minor.ver}.${patch}.${build.num}" 
> 
>                   charset = "utf-8" 
> 
>                   failonerror = "false" 
> 
>                   tolist      =
> "${cm.list.address},${metrics.address}"
> 
>                   messagemimetype = "text/html">
> 
>                   <from address     =
> "${from.address}" />
> 
>                   <message>Build failed due to
> errors!

View
> attached log file for details.  (Also look for a
> separate email that
> contains details of the error.)</message>
> 
>                   <fileset dir = "${log.build.dir}">
> 
>                         <include name =
> "build.html"/>
> 
>                   </fileset>
> 
>             </mail>
I checked the documentation of <mail> task in [1] and
there is a similar example using a nested <fileset> as
well. Its explanation says: "The task will attempt to
use JavaMail and fall back to UU encoding or no
encoding in that order depending on what support
classes are available." So I suppose you need Java
Mail.

Regards
Ivan

[1]http://ant.apache.org/manual/CoreTasks/mail.html

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to