(setup: CF5/WIN2k/IIS)

Nice weekend for a nightmare mail scenario. One of our programs sent an email to one of our customers... think along the lines of "Thanks for triggering #thisEvent#!!!".

So cfmail sends the file to spool.  Spool triggers after 60 seconds, and sends the email, and this is where the nightmare begins.  After sending the email, spool tries to delete the spooled email:

---
Unable to move the spooled mail file, C:\CFusion\Mail\spool\13B1.cfmail. The process cannot access the file because it is being used by another
---

So after this error, the mail is still in the spool.  60 seconds later, the mail sends again.  Again, it tries to move from spool.  Again, it returns the same error.  Again, the email is sent to the customer.

All in all, this email was sent SEVENTY NINE times to this very dissatisfied customer.  as once a minute, every minute, this email was sent until an admin saw what was happening and restarted services.

I know how to stop this once this does happen, I've encountered file lock issues in other aspects of cf (cffile, cfexecute) So my questions, speficially...

1.  what causes this?  is it coldfusion, something auxillary, allignment of stars?

2. more importantly, what can be done to prevent this?  this scenario is absolutely unaccepptable, ever.  It (or something) similar has only happened about twice in 3 or 4 years, but that is 2 times to many.  Should a 3rd party mail server be used to bypass anything coldfusion does?  is this even coldfusion's fault?

any ideas would be greatly appreciated, and TIA

-Jeff
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to