Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: MailLogger failed to send e-mail!

Steve Loughran

2008-02-15

Replies: Find Java Web Hosting

Author LoginPost Reply
sarancse wrote:
> Hi
>
> Using ANT script mail task, I am able to send mails but fails when build
> fails. So I decided to use MailLogger using maillogger.properties file and
> the command is
>
> $ant -logger org.apache.tools.ant.listener.MailLogger
> -DMailLogger.properties=maillogger.properties

should be

ant -logger org.apache.tools.ant.listener.MailLogger
-DMailLogger.properties.file=maillogger.properties




--
Steve Loughran            http://www.1060.org/blogxter/publish/5
Author: Ant in Action       http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.