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

Posted May 21, 2008 at 11:11 AM

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.

Post Comment  |  Ask Ben  |  Other Searches  |  Print Page





Reader Comments

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

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


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

@Dav,

Awesome!! It worked like a charm.


Post Comment  |  Ask Ben

Recent Blog Comments
Mar 19, 2010 at 9:29 AM
Be Careful When Including Images In jQuery Auto-Suggest
@Jim, I've only ever messed with the config in FireFox. Not sure what's available in the other browsers. ... read »
Mar 19, 2010 at 9:27 AM
ColdFusion 8 ImageDrawTextArea() (Inspired By Barney Boisvert!)
@Martin, It's been a while since I looked at this; but, I don't think I handled explicit line breaks because it just made the calculations harder. Perhaps in another version. ... read »
Mar 19, 2010 at 9:23 AM
Ask Ben: Parsing CSV Strings With Javascript Exec() Regular Expression Command
@Jens, Ahh, gotcha. Yeah, the textarea is probably gonna be safe cross-browser. ... read »
Mar 19, 2010 at 9:22 AM
How ColdFusion CreateObject() Really Works With Java Objects
@Dmitry, Word up - createObject() can do a whole bunch of things. It's probably one of the best updates to the language. ... read »
Mar 19, 2010 at 9:19 AM
Learning ColdFusion 9: Resetting Applications With ApplicationStop()
@Rocky, Yeah, I assume it will flush all application-scope variables when you can applicationStop(), regardless of where they are initialized. As far as the connectivity between application and s ... read »
Mar 19, 2010 at 9:15 AM
Ask Ben: Getting The Start And End Dates Of The Previous Week In ColdFusion
@David, It gets the last week. I goes back 7 days, and then finds the start / end of that week. ... read »
Mar 19, 2010 at 9:12 AM
Using Inline List Elements
@ben: thank you very much - that helped me a lot ;) ... read »
Mar 19, 2010 at 9:10 AM
Ask Ben: Selecting XML Attributes Given Other XML Attributes
@Tom, That's odd. Looks like a malformed XML problem. Make sure you aren't missing any of the ">" closing brackets or something. ... read »