Skip to main content
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Mike Canonigo
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Mike Canonigo ( @mcanonigo )

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

By on
Tags:

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 MXimize.com. 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

15,377 Comments

@Eric,

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 :)

2 Comments

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.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel