[Catalyst] Sending 3000 emails.

Lance A. Brown lance at bearcircle.net
Wed Dec 2 15:59:03 GMT 2015


On 12/2/2015 10:10 AM, Andrew wrote:
> As noted, it all works until about 1020 emails in, at which point the
> Catalyst app crashes (although this has only happened once - I do not wish
> to try again and risk another crash). I am using Email::Stuffer in a for
> loop, iterating over an array of 3000 email addresses. For my next step I
> will alter my code to only attempt to send to 500 email addresses at any one
> time, since below 1000 everything seems to work fine.

Are you sending those emails as 3,000 individual messages?  Are you
keeping the Email::Stuffer objects around after doing ->send on them?
With your Catalyst app crashing I wonder if you aren't hitting a memory
resource limit or memory leak bug.

--[Lance]




More information about the Catalyst mailing list