ed lim <[EMAIL PROTECTED]> wrote:
> I have a small dilemna,
>
> Let's say I want to send an email to 1,000 people...they will all receive
> the same email.....
[...]
> I have a text file with the 1,000 people : people.txt I have the HTML I want
> to send them : whatever.html
[...]
> I can't figure out how to attach is properly to grep...my problem is ...
> the to field gets blank.
If you're sending the same message to 1000 people, you can't have the person's
name show up in the To: header with a stock qmail, unless you have all 1000
recipients show up in the To: header (bad idea).
> How do I pipe it correctly to qmail-inject?
The same way you normally would:
$ qmail-inject -f sender@fqdn << EOF
From: "Me" <sender@fqdn>
Subject: Make Money Fast
To: recipient list not shown: ;
bcc: <recipient1@fqdn>
bcc: <recipient2@fqdn>
...
bcc: <recipient1000@fqdn>
<HTML>
....
</HTML>
EOF
$
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.
-----------------------------------------------------------------------