ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Machine independent newline character
Date Tue, 12 Dec 2000 12:14:45 GMT
Marc Luce <> wrote:

> I use the mail task to let management know when a "build" is
> performed.  I need to add a machine independent newline character to
> the body of the message.

You don't.

SMTP uses \r\n as line separator and it's up to the receiver to
translate this back into a plattform dependent line separator. The
class used to send the email will ensure raw \n will be converted to
\r\n so you shouldn't need to care at all.


View raw message