in reply to Re^2: MIME::Lite::TT::HTML, time control for mass mailings?
in thread MIME::Lite::TT::HTML, time control for mass mailings?

Ya, that's sort of what I had in mind.

So woud it best to sleep my mailing script, say something like this:

$i=0; foreach $user (keys %users) { prep info; send mail using MIME::Lite::TT::HTML $i++; if ($i%100 == 0) {sleep 2;} }
Or is there some other, better way to do it?

Thanks.

Replies are listed 'Best First'.
Re^4: MIME::Lite::TT::HTML, time control for mass mailings?
by Gavin (Archbishop) on Jul 01, 2007 at 12:25 UTC
    I used something similar before, not because of server speed but because of bandwidth issues and it worked ok for me
    try it and see.
    You will more than likely get better suggestions from others more able than I to answer your question.
Re^4: MIME::Lite::TT::HTML, time control for mass mailings?
by perrin (Chancellor) on Jul 01, 2007 at 13:55 UTC
    It's just not necessary for such a small number of e-mails. Your mail server will queue them.