Skip to main content
Known Participant
August 6, 2010
Question

Sending mass email crashes CF service.

  • August 6, 2010
  • 1 reply
  • 600 views


I have about 1,000+ emails for coldfusion to send but the coldfusion service keeps crashing.  I've even trimmed it down to 500 and it still crashes.  Seems to get about 300 or so out before it chokes.

I've even used the activmail tag from http://www.zrinity.com/activmail/ (cf_mail) and it has the same problem. How do I diagnose the issue?

Thanks!

    This topic has been closed for replies.

    1 reply

    Inspiring
    August 7, 2010

    Hi


    What version of the coldfusion you use and where is your smtp server?

    CFMAIL is pretty good in newer versions. I send couples of 1000 email address on one go and it handles all that pretty good. If it take long time for the smtp server to accept the mail from ColdFusion server, that may be bit of a problem. Anyway, CFM should not crash; it should move mails to undelivered folder if timeout.

    May be the problem is not in cfmail, but in the code to generate the mail body. You can try writing the result in to a file in the harddrive instead of cfmail.

    A workaround for this is, send one mail at a time, may be one every second or so. You can let a JavaScript or a META refresh to refresh your page every second and send out a single mail.

    Thanks

    sam