On 16:39:45 Nov 12, Kenneth Gonsalves wrote:
> and get branded as a spammer exposing huge number of ids to everyone? I want
> each person to think that I mailed him/her personally
>
You are right. I use this trick as well. I had forgotten.
> I have already mentioned that I know how to do that. Actually I have a bunch
> of people that I have converted to linux - and I want to show them how to do
> this with kmail (or evolution or thunderbird or any gui client) so that they
> can avoid sending mails with a thousand addresses in them.
Oh. I can only do that from shell.
I was trying it when I got interrupted. I shall get to it again.
I just finished it in perl. My python skills are very bad.
Here is a way to achieve it in perl.
-Girish
+--------CUT---------+
@f=`cat /tmp/commaseparatedids`;
for(@f) {
(@mailid) = split/,/;
# Send mails to each mail ID
for(@mailid) {
`/usr/local/bin/nail -s "FOOBAR subject" $_ < /tmp/msg.txt`;
print "Mail sent to $_ \n";
}
}
+--------CUT---------+
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc