in reply to Re: Re: Re: Re: e-mail with newlines
in thread e-mail with newlines

Ah, no, you need to use newlines in the file, and substitute with CRLF before sending.. reading in like that will just read them as literal characters:
$CRLF = "\015\012"; $message =~ s/\n/$CRLF/gs;
And btw, there are lots of nice templating systems, eg: Text::Template, without creating your own :)

C.