Skip to main content
Legend
September 5, 2008
Question

CFMail Sending Duplicates

  • September 5, 2008
  • 1 reply
  • 875 views
We just upgraded from CF7 to CF8 (8.0.1). We run Enterprise Edition across 2 servers with 4 CF instances on each.

In the course of the upgrade we backed up our CF7 settings to CAR files and then deployed them on the new CF8 instance so all our CF Admin settings are identical to the previous version.

No significant code changes have been made.

However, many of our scripts that use CFMail, both on our sites and in scheduled tasks, have begun sending their messages multiple times. The same message gets emailed 2, 3, 4 times or more.

I found this email string on a Google search of someone with the exact same issue. I've tried to contact him to see if it was resolved but have had no success:
http://www.mail-archive.com/cf-talk@houseoffusion.com/msg307725.html

More details:

-The ColdFusion logs indicate that the mail was only sent once.
- Looking at our mail server the messages do, indeed, arrive multiple times. This eliminates the possiblility of an email server or Outlook/email client problem.
- CF Admin settings: Spool messages to disk, spool interval: 15s, Delivery threads: 10

So, it appears CF thinks it is only sending once. That tells me perhaps the underlying Java may be sending multiple messages AFTER CF has written its logs...

I've applied the latest Cumulative hotfix. No help.

Ideas?
    This topic has been closed for replies.

    1 reply

    Inspiring
    September 5, 2008
    sdsinc_pmascari wrote:
    >
    > Ideas?
    >

    Is ColdFusion 7 possibly still running and also sending the emails,
    logging it's work to it's own logs?
    Legend
    September 5, 2008
    Thanks for the reply.

    We thought of that however all CF7 instances in Jrun4 have been deleted and all CF7 Windows (2000) services have been disabled.

    Also, I don't believe that would explain why the emails would go out more than once on the sites, themselves, in addition to the scheduled tasks. For instance, we have links that may say something like "Send email". Those will send mail immediately without a scheduled task running.