Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl, mysql and mass-mailing

by AidanLee (Chaplain)
on Apr 25, 2002 at 16:11 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-16 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found