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

Posted May 21, 2008 at 11:11 AM by Ben Nadel

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

May 21, 2008 at 3:08 PM // reply »
41 Comments

It looks like this is only a problem for mail with an attachment?


May 21, 2008 at 4:06 PM // reply »
11,238 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 :)


Dav
May 22, 2008 at 4:01 AM // reply »
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.


May 22, 2008 at 7:06 AM // reply »
11,238 Comments

@Dav,

Good luck getting to the bottom of it!


Dav
May 29, 2008 at 5:57 AM // reply »
2 Comments

The hotfix is out already, I just failed at finding it..

It's linked to from this thread:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=1365804


May 29, 2008 at 7:41 AM // reply »
11,238 Comments

@Dav,

Awesome!! It worked like a charm.


Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 20, 2013 at 4:38 PM
Using A Dynamic Column Name With ValueList() In ColdFusion
@Dana, Your confusion is well founded, since this is a very confusing features. In fact, it ONLY works if you use array notation. Meaning, that this: arrayToList( query[ "columnName" ] ) ... read »
May 20, 2013 at 4:34 PM
Using A Dynamic Column Name With ValueList() In ColdFusion
I was thinking chicken and the egg, I wouldn't have expected it to work in the valuelist going in I guess. Maybe I just need a beer, long day :) ... read »
May 20, 2013 at 4:29 PM
Using A Dynamic Column Name With ValueList() In ColdFusion
@Dana, That's if you're trying to reference a specific row. In this case, we're trying to reference the entire query column as one cohesive value. So, you are correct that if you wanted to output a ... read »
May 20, 2013 at 4:24 PM
Using A Dynamic Column Name With ValueList() In ColdFusion
I thought when you used array notation to reference queries you always had to have the row or it would throw a similar error as well? ... read »
May 20, 2013 at 11:45 AM
Using jQuery's Animate() Step Callback Function To Create Custom Animations
This is really useful. I found out that you don't actually have to use a dummy css property (surprisingly). To animate a property in a linear-gradient for instance I did this this.css('someLinearGra ... read »
May 20, 2013 at 10:51 AM
Using A Dynamic Column Name With ValueList() In ColdFusion
@Josh, Oh snap! You're totally right! I'm not sure I've ever tried that. I did know that you can call a number of other array-methods on ColdFusion query columns: http://www.bennadel.com/blog/167 ... read »
May 20, 2013 at 10:45 AM
Using A Dynamic Column Name With ValueList() In ColdFusion
@Ben - I believe you can achieve the same functionality with ColdFusion's built in ArrayToList() function. ArrayToList( users[ "id" ] ); ... read »
May 20, 2013 at 10:21 AM
My Experience With AngularJS - The Super-heroic JavaScript MVW Framework
Is there any error logging and handling framework in angularjs, if not then in what way I can do this. ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools