Perl: the Markov chain saw | |
PerlMonks |
Perl, mysql and mass-mailingby wilstephens (Acolyte) |
on Apr 25, 2002 at 15:58 UTC ( [id://162010]=perlquestion: print w/replies, xml ) | Need Help?? |
wilstephens has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I'm maintaining a mailing list on my website (an opt-in mailing list, I might add!) and I have now collected roughly 1,000 names and emails. These are all stored in a simple MySQL database, that looks something like this:
Now the next step for me is to just write a loop that looks through my database, and pipes the emails to sendmail one by one - and do some template work replacing template name tag with their real name. Before I do this, however, I just wanted to seek the wisdom of the perl monks as to server resources and things I should be careful about. Is looping through 1,000 entries in a sql database, parsing template for one tag and then piping all to my sendmail program going to kill my server? If so, what is the most (more?) efficent way? Thanks for your help! -- Wiliam Stephens <wil@stephens.org>
Back to
Seekers of Perl Wisdom
|
|