Coldfusion 8 and Microsoft Exchange Integration - Issue accessing the Sent Items folder.

I'm having trouble reading items from the sent items folder of my MS Exchange server using the <CFEXCHANGEMAIL> tag. I can read mail items from other folders at the same level in the exchange store such as "Junk E-Mail" and "Deleted Items" but when I provide a folder name of "Sent Items" I get the following error:

"The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code."

Is this a known bug? If the sent items folder was excluded from locations that could be accessed by the CFEXCHANGEMAIL tag I can't find mention of that limitation in Adobe's documentation.

Any Ideas? Has anyone accessed the Sent Items folder? Did you have to do anything special?
Greg_JohnsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

duncancummingCommented:
Can we see your code?
0
ThutM0seCommented:
Use <cfdump> to dump out the contents of the variable rather than throwing an error and compare the output of a working folder. Should help you identify differences in the responses.
0
Greg_JohnsonAuthor Commented:
Thanks for the suggestion ThutM0se. I did <cfdump> my output. If the folder name "sent items" is used the error is thrown before any output is generated.

I believe that ColdFusion restricts access to the sent items folder. I'm not sure exactly why they do it but there is no difference in syntax between the sent folder and others at the same level in the folder structure.

Ultimately I worked around this by creating a Linked Server on my SQL Server box that connects to the Exchange store.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ThutM0seCommented:
That's interesting. Our exchange servers are locked down here or else i'd try to replicate it with you. Sorry I can't be of more help.

Good to hear you were at least able to find a work around.
0
Greg_JohnsonAuthor Commented:
I hope they fix this in CF9.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.