hondaworkshop
01-15-2007, 12:33 PM
My project does not send mass emailings to a list, but it does allow community users to send emails to each other.
Obviously, if the project reaches its potential, the raised limit of 500-emails-per hour might not be enough, and there would be a need for a queue of sorts to let emails roll over into the next hour, instead of being killed.
My idea is to put the user's email form data into a MySQL database, then create a perl script that would run every 2 minutes, sending out 14 emails from the database and marking them as "sent" so it would ignore them later.
This would total up to 420 emails per hour, allowing 80 more to spare for other conventional email use.
The emails sent out are all text-based emails, with very small message content. My questions are:
Would this perl script be able send out the 14 tiny emails fast enough that the server would not kill it for taking too long?
Is every 2 minutes too frequent to run the script? Should I decrease the number of emails and make it every 1 minute?
Is there already something like this out there?
Obviously, if the project reaches its potential, the raised limit of 500-emails-per hour might not be enough, and there would be a need for a queue of sorts to let emails roll over into the next hour, instead of being killed.
My idea is to put the user's email form data into a MySQL database, then create a perl script that would run every 2 minutes, sending out 14 emails from the database and marking them as "sent" so it would ignore them later.
This would total up to 420 emails per hour, allowing 80 more to spare for other conventional email use.
The emails sent out are all text-based emails, with very small message content. My questions are:
Would this perl script be able send out the 14 tiny emails fast enough that the server would not kill it for taking too long?
Is every 2 minutes too frequent to run the script? Should I decrease the number of emails and make it every 1 minute?
Is there already something like this out there?