this should have gone to the list.
-----Original Message-----
From: Nelson, Chris (USITG)
Sent: Friday, April 14, 2000 12:03 PM
To: 'Justin Simoni'
Subject: RE: using perl to send a list message
You could consider using QMQP to send the mail. Then you just have to pass
one copy of the message and a list of RCPTS. I do this to send email to
40000+ people and it works great.
-Chris
-----Original Message-----
From: Justin Simoni [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 14, 2000 11:47 AM
To: Brian Johnson
Cc: [EMAIL PROTECTED]
Subject: Re: using perl to send a list message
> not a qmail question, but if I understand what your
> trying to do correctly, then isn't this what you want to do? :you
>
> open (LIST,"/home/justin/www/cgi-bin/lovely_people.list");
> foreach (<LIST>) {
> #send mail to "$_"
> }
thats how its doing it now ;) but i'd rather have qmail or sendmail handle
that for me,
1)it's probably more efficient for qmail to do the dirty work
2)this list has about 1000 people, and it takes more than a couple minutes
for perl to go through that all,making my program look like its hanging
;(
-justin simoni
!skazat! => http://skazat.com
On Fri, 14 Apr 2000, Brian Johnson wrote:
> this is a perl question, not a qmail question, but if I understand what
your
> trying to do correctly, then isn't this what you want to do? :you
>
> open (LIST,"/home/justin/www/cgi-bin/lovely_people.list");
> foreach (<LIST>) {
> #send mail to "$_"
> }
> close(LIST);
>
> and put one e-mail per line into that file..
> -Brian
>
> Justin Simoni wrote:
>
> > hello!
> > i'm trying to send a list message inside a perl program. we have qmail
on
> > our server, i was wondering if anyone knew how to do this. i have no
> > problem sending an email using perl, but i was wondering if there is a
> > flag i can give to qmail to say: "hey, send this messsage to the people
in
> > this list: /home/justin/www/cgi-bin/lovely_people.list
>
>