Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory

By Ben Nadel on
Tags: ColdFusion

I just realized that a bunch of people have commented on a post and I wasn't getting any email notifications for it (as I usually do). So, I went into my server and sure enough, there were dozens of emails in my undeliverable mail folder. I then went into my ColdFusion Administrator and viewed my mail logs and saw this error many times in a row for CFMail:

The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory. The invalid file MailXXXXXX.cfmail was moved to the undeliverable directory.

What's strange is that I am getting some of the emails, but not all. After doing some quick Googling, I came across a post on In the comments of that post, Gary Fenton points out that this is a known problem with ColdFusion 8.0.1. Apparently, there is a hotfix for it, but as of May 16th, 2008, it was not yet released publicly. I checked the latest hotfix, but none of the issues address are CFMail related.

The end result of this, though, is that I just got dozens of emails (after moving cfmail files into the Spool folder); so, sorry if I didn't get back to you yet.

Reader Comments


From what I gather, it's an attachment problem. All my emails have attachments due to the logo. Perhaps I should remove the logo... but I really like it :)

Yep, there's a lot of it about. We first spotted it at the end of April, but haven't managed to chase it down yet because it doesn't always fail. Meh. I'll give that dropTheAttachment idea a try and see if it helps.