ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <>
Subject RE: Help with the Mail task
Date Mon, 19 Mar 2001 03:49:35 GMT
From: Kevin Cummings []

> Is there any way to format the message that is sent from the 
> Mail task in 
> ANT?? I've tried the following in an attempt to get a line 
> break in the 
> e-mail and nothing has worked:

Use a decimal entity.
The following worked for me (on Unix)

<?xml version="1.0" encoding="UTF-8"?>

<project name="mailer" default="default" basedir=".">

        <target name="default">
                <echo message="Sending mail to ${}"/>
                <mail from="Build Monkey" tolist="${}" subject="Build info"
                        message="Build Status&#10;Date: ${DSTAMP}&#10;Time: ${TSTAMP}"/>


View raw message