Subsribe to our RSS

latest reactions

christian louboutin shoes
With that kind of traffic you want to ad …
Rahul Anand
Thanks for the nice post. It works for m …
Serkan
thx a lot! …
msb
Thanks for above solution.There is ano …
Lori S.
FYI, I was using this successfully in CF …

Use OpenDNS

mxna feeds

cfmailparam behaviour change in CF9.01ColdFusion Job Opportunity in Houston, TXFacial Recognition in 14 Lines Of ColdFusionColdFusion UPS PackageColdFusion Job Opportunity in Arlington, VAColdFusion Job Opportunity in San Diego, CASome ColdFusionBloggers.org GuidelinesColdFusion Positions In CaliforniaListChangeDelimsunix epoch with coldfusionQuery scripting bug in Coldfusion 9Scoth On The Rock 2011 Tickets on salefoursquareCFC updated to version 1.0, now includes ColdFusion return typeFramework One Birds of a Feather session at CFUnitedWhat makes you a good ColdFusion programmer?

All files are strictly confidential: all information is classified.
© Copyright 2002 - 2010 mximize.com.
All right reserved.

MXNA webfeed

Visit Carlos Gallupa

An invalid spool file in the spool directory

I have a strange and really annoying bug since running ColdFusion 8.01. The following error keeps coming back when i send mail with an attachment.

The ColdFusion mail spool encountered an invalid spool file in the spool directory. The invalid file Mail12734.cfmail was moved to the undelivered directory.

This is actually a known issue with ColdFusion version 7 but not with 8.01 which we are using at our company. Does anyone see the same behavior with there mail?? I would really like to clear this up!!

UPDATE
Here is one of the mails that can't be send.
type:  text/plain; charset=UTF-8
server:  themailserver:25
from:  from@from.com
to:  to@to.com
subject:  Bevestiging van  inschrijving
X-Mailer:  ColdFusion 8 Application Server
bodypart-start:  text/html; charset=UTF-8
body: 
body:              L.S.<br />
body:              <br />
body:              Bijgesloten vindt u uw inschrijfbevestiging.<br />
body:              <br />
body:              Met vriendelijke groet,<br />
body:              <br />
body:              Manager Woonteam
body:         
bodypart-end:  text/html; charset=UTF-8
bodypart-start:  text/plain; charset=UTF-8
bodypart-end:  text/plain; charset=UTF-8
file:  C:\data\websites\huurwoningwestfriesland.nl\repository\2005080071-I.pdf
file-type:  application/pdf
file-disposition:  attachment
remove:  false

5650 viewed | 15 opinion(s)  | del.icio.us | Digg it | Tjarko @ 06/05/08 16:38 cet


Reactions:

jax wrote.... (site)

What does it say in the invalid *.cfmail file? Should be a clue hiding in there...

06 May 2008 16:45 cet  

jax wrote.... (site)

Load the file into eclipse and turn on 'show whitespace characters' (somewhere in the preferences)
It will also, next to white spaces, display control chars. Maybe there is something funky going on there...

06 May 2008 16:52 cet  

jax wrote.... (site)

another option.. replace the path separators in the attachment to either a slash forward, or a double backslash.. so either c:/blala/blalaor c:\\blabla\\blala..

06 May 2008 16:55 cet  

Tjarko wrote.... (site)

Strange thing however is that the same server pushed out thousands of mails that are exactly the same....

06 May 2008 17:02 cet  

Gary Fenton wrote....

I am getting exactly the same problem with 8.01. We upgraded last weekend.

We misconfigured an IIS virtual directory which meant CF couldn't find an attachment file that it needed to add to emails. So it threw 1000's of emails into the undelivr directory. We fixed the IIS issue and copied the .cfmail files back into spool but that's when it throws the "The ColdFusion mail spool encountered an invalid spool file" error.

The very end of the spool file has the following which appears to be the instructions to add the attachment:

bodypart-end:text/html; charset=UTF-8
file:http://attachments.mydomain.co.uk/logos/logo_email.gif
file-disposition:inline
file-id:<senderlogo>
remove:false

(The file url works fine from the CF and mail server, it's an internal domain and worked well when we ran CF7)

15 May 2008 12:26 cet  

Gary Fenton wrote....

Here's an update...
Bad news: It's a bug in 8.01.
Good news: There's a hotfix for it. I was lucky to be given a copy of the hotfix (not sure if it was a pre-release) but it did the trick and I passed the good news back to Adobe. Yay! :-)

16 May 2008 2:51 cet  

Tjarko wrote.... (site)

@Gary, do you know where to find this update?? I'm really in need for it!!

16 May 2008 8:52 cet  

Gary Fenton wrote....

I asked Adobe and they said "We will be releasing this hot fix to public ASAP".

16 May 2008 17:43 cet  

Tjarko wrote.... (site)

@Gary, thanks!! I had hoped it would be in the last cumultative hotfix but I can wait a bit. :-)

16 May 2008 17:49 cet  

Phyllis wrote.... (mail)

We expereienced the same problem on ColdFusion 8.0.1.

We have some ebiz applications which sent out emails with a file attachment. After we upgraded ColdFusion from MX 6.1 version to 8, then 8.0.1, the emails cannot be delivered with an attachment.

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

We have installed the <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403622&sliceId=1">latest hotfix</a> with released date on 5/14/2008. It did not resolve the problem.

Any news on when the hotfix will be released for this hot issue? Thank you.

28 May 2008 20:32 cet  

Dav wrote....

The hotfix came out on May 21st apparently and is linked to from this thread:

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

29 May 2008 11:56 cet  

Gary Fenton wrote....

Here's a direct link to the hotfix and KBA:
http://www.adobe.com/go/kb403683

(The blog didn't autolink Dav's url correctly, presumably because it wrapped onto 2 lines)

29 May 2008 13:17 cet  

Tjarko wrote.... (site)

This one doesn't load either, aarghhh @Gary, the hotfix did work!! txns again!!

29 May 2008 13:56 cet  

Phyllis wrote.... (mail)

Hello Dav, Gary, and Tjarko, ...
Thank you very much for sharing the hot fix and feedback. It is very helpful. Cheers!

29 May 2008 19:35 cet  

up set wrote.... (site)

I think its a .... shame that Adobe ships an important update with this kind of errors. It took us hours to find out what went wrong in the mail delivery. Is CF going down hill ?!

10 June 2008 16:37 cet  

Leave your comment

Your name


Your url/website/link/email....


Some room for your reaction is placed here..



The answer to the ultimate question is?? (42 ;-))




URL en mail addresses are translated for you... life sometimes is that simple!!