try adding \ at the end of each line.
Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]
On Wed, 4 Aug 1999, Adam D . McKenna wrote:
> if I make a .qmail file that looks like this:
>
> | echo "Dear $SENDER,
> Thank You for joining our e-newsletter. This e-mail is a confirmation that
> you have been added to our e-newsletter mailing list.
> "
> | MAILNAME="Flounder.net autoresponder" qmail-inject $SENDER
>
> qmail says:
>
> 933825055.140515 delivery 18846: deferral:
>
>/bin/sh:_-c:_line_1:_unexpected_EOF_while_looking_for_matching_`"'//bin/sh:_-c:_line_2:_syntax_error:_unexpected_end_of_file/
>
> Is there a way to span lines like this? I want to make autoresponders
> without reading external files or spawning scripts... But I don't want the
> entire e-mail to be on one line :) Even if I put \'s at the end of each
> line, qmail-local treats all of the lines as separate commands. I know that
> this is documented behavior.. What I want to know is if there is a way around
> it.. :)
>
> TIA
>
> --Adam
>