in reply to MIME::Lite::TT::HTML, time control for mass mailings?

1000 e-mails? Any server should be able to handle that. Don't worry about it.
  • Comment on Re: MIME::Lite::TT::HTML, time control for mass mailings?

Replies are listed 'Best First'.
Re^2: MIME::Lite::TT::HTML, time control for mass mailings?
by Gavin (Archbishop) on Jul 01, 2007 at 11:34 UTC
    You could build in a few seconds time delay after 100+ emails to allow for catch up
      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.

        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.
        It's just not necessary for such a small number of e-mails. Your mail server will queue them.