ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Machine independent newline character
Date Tue, 12 Dec 2000 12:14:45 GMT
Marc Luce <marc.luce@blackbird.net> 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.

Stefan

Mime
View raw message