cfdump fails on imap folder contents after call to getMessages();


When running my code to check a bounced messages folder, calling cfdump (or writeDump()
) on the folder contents generates an error:


Here's the code I'm using that will generate the error:

The stack is:


Windows 7 x64


February 2, 2018, 4:56 PM

Still happening to me. Here's a screenshot of the context:

April 3, 2018, 5:07 PM

This is one of the problems I had too... I just completed a new project involving IMAP and found fatal flaws and annoying incompatibilities with Lucee’s built-in tag in the I was only able to complete the project with the tag I found here it uses the ACF dialect and resulting structures and works very well on linux and windows, including SSL/TLS and I’d like to suggest adopting it as a built in or menu installed official extension. I have no idea if this was already considered or if there are other things going on. My experience was that, today, it’s much closer to where everyone wants to be on CFIMAP.

Lucees built-in tag seems much like BD’s tag and has at least one of the same issues as BD did. It fails to show attachments for emails originating from exchange- or at least the ones i was getting. The data is there in the content part, but Lucees IMAP shows no attachment dumping a getall action.

About the level of interest on this tag being understated: Being new to Lucee and not knowing any of this, I have to admit it was very discouraging when most of the examples I could find did not work at all. It’s important to have basic core stuff like this working for new people who are looking at different app servers. Sad to say, if i had not previously done a project w/ Lucee i would not have worked at getting a solution and just moved on.

That said, Lucee seems to have unprecedented momentum that I hope will expand the community to the many new, lurking or lazy developers that are looking for easy solutions. Thanks!

Pothys - MitrahSoft
May 7, 2018, 8:19 AM

Hi ,

Sorry for late reply. While dumping get all action on cfimap i saw attachment name. What the issue you are facing. Can you please test with latest lucee snapshot. I hope your problem may be solved with latest version. Please check with latest version & post the result here.

May 9, 2018, 9:29 PM

I can verify that dump is now working correctly for imap objects using snapshot Thanks!

Pothys - MitrahSoft
May 22, 2018, 11:06 AM

Thanks, I'll close this ticket as per reporter's comment.



Pothys - MitrahSoft






Fix versions


Affects versions