Skip to main content
July 25, 2011
Question

CF 8 cfmail sending duplicates

  • July 25, 2011
  • 1 reply
  • 431 views

I noticed that our CF8.0.1 server started sending duplicate e-mails on some - but not all - cfmail processes today.

After about 30 minutes of troubleshooting I've setup just a simple test.cfm page with a simple cfmail tag:

<cfmail

  to="steve@mydomain.com"

  from="support@mydomain.com"

  subject="test"

  spoolenable="yes">

#CreateUUID#

</cfmail>

Every time I get two separate UUIDs and two messages, even though the page is only loaded once.

I've tried it with our internal SMTP server and an external 3rd party service - both show different message IDs.

If I watch the spool directory two identical mail files are dropped there for pickup.

I've restarted the CF service and local SMTP service to no avail.

I've also triedit w/o #CreateUUID# - just putting "hi" in the message body etc.  I've also tried sending to different addresses.

Some other processes in our web application do not appear to be sending duplicates though.  Just the templates I started troubleshooting and my test template.

    This topic has been closed for replies.

    1 reply

    talofer99
    Inspiring
    July 31, 2011

    if its only in this "envoirment" ... maybe  have application.cfc or application.cfm in there ?

    Maybe one of them causes the procces to repeat it self ?

    if u have application.cfc maybe part of the onRequestStart() function causes this ?