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?
So woud it best to sleep my mailing script, say something like this:
Or is there some other, better way to do it?$i=0; foreach $user (keys %users) { prep info; send mail using MIME::Lite::TT::HTML $i++; if ($i%100 == 0) {sleep 2;} }
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 | |
|
Re^4: MIME::Lite::TT::HTML, time control for mass mailings?
by perrin (Chancellor) on Jul 01, 2007 at 13:55 UTC |