Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Perl, mysql and mass-mailing

by AidanLee (Chaplain)
on Apr 25, 2002 at 16:11 UTC ( #162014=note: print w/replies, xml ) Need Help??

in reply to Perl, mysql and mass-mailing

it could cause some undue server load. Grabbing the entries from the database and filling out the template won't be the issue as far as I can tell. What'll really suck up system resources is sending 1000 unique emails through sendmail all at once. You may want to consider sending out the email in batches every couple of minutes till the job is done.

I'd retrieve the names once from the database, store them as an array or some such in a flat file, and have a cron job wake up and send X emails every couple of minutes, removing those addresses from the list and resaving the list.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://162014]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-16 18:52 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (63 votes). Check out past polls.