in reply to Sending Custom Mass Mail - Fastest Way Possible

Currently we send out a weekly news letter to all our users ... I am sending 1 message at a time which as you can imagine takes forever.

Since you quote no figure for "all our users" and no duration for "takes forever" there's little to go on. If you have 500 users and it takes half a day, then you probably have a fixable bottleneck. Conversely, if you have 5000 users and it takes half an hour then you are doing pretty well and perhaps your best next step is ... outsourcing.

  • Comment on Re: Sending Custom Mass Mail - Fastest Way Possible

Replies are listed 'Best First'.
Re^2: Sending Custom Mass Mail - Fastest Way Possible
by edimusrex (Monk) on May 29, 2015 at 15:36 UTC
    ok, to give you some numbers it takes about 15 minutes to send to 53 users, as that number grows I expect the run time to increase. Seems a little long in my opinion

      Yes, that's orders of magnitude too long. Time to do some benchmarking of your code and find the bottleneck. Have you used Devel::NYTProf before? It would be my initial recommendation.

        No I haven't but I will look into it. Thank you for the recommendation