ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Failed to initialise MIME mail
Date Fri, 16 Dec 2005 22:44:17 GMT
Hello,

--- "Chon, Ae H" <AE.H.CHON@saic.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message