Brett <[EMAIL PROTECTED]> wrote:
> Here's how I'm calling qmail-inject:
[...]
> system ("echo '$mail' | $mail_prog");
>
> The Bccs are in the header but they're still being inserted into the command
> line which is what I meant by "more or less". I actually don't really see
> another way of getting all the bccs to qmail-inject.
That's why it's failing, it would seem. I'm no Perl coder, but there's a way
to open the qmail-inject process, with your Perl process having one end of a
pipe, the other end of which is connected to stdin of qmail-inject.
You're trying to push a huge amount of data through the shell, which is
totally unnecessary. You don't use any of the features of the shell here, so
why bother with it? There's some examples of other people doing this in Perl
in the mailing list archives.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------