Copy link to clipboard
Copied
Greetings,
Some background... running CF 8,0,1,195765 trying to communicate with an Exchange 2003 server. The communication succeeds, and I can get a list of messages with indicate that it has an attachment. The goal is to retrieve these messages (envelop journaled as part of the archive) and extract the original message.
When isolated to a specific message with the UID and the getattachments action, it fails. The call is as follows:
<cfexchangemail
action="getAttachments"
attachmentpath="F:\test"
connection="GetArchive"
folder="Inbox"
name="attachData"
generateuniquefilenames="true"
uid="<AA718FA81900E148B09B0DF91B702AC23C83C1@host.domain.local>"
/>
First AttachmentFilePath comes back empty which the docs say should only happen if attachmentpath is left null. More strange is that if F:\test doesn't exist, CF does create it like it's supposed to. So clearly it knows that I set the value. It shows a size and an Attachmentfilename in the result set. Look in F:\test however and the folder is empty. Where is the attachment?
I originally thought it had something to do with the file name as I tried a different email to retrieve with the subject:
[WhiteListed] Your Order (23467) Placed on 11/22/2009
To me, a file name like this would not be accepted by the file system. That said, what happens with file names like this? Shouldn't there be a "SaveFileAs=" parameter so you can use a UUID and set it and avoid naming problems?
What's the solution here and how can I retrieve attachments? Or what could be holding it up since I can retrieve the envelope message just fine?
Thanks.
Andrew
Copy link to clipboard
Copied
Greetings,
After further testing, the system will retrieve regular attachments, but not attachments within the envelope journaled message. That is, the original email.
The response query specifies no mime type, that it ISMessage is Yes, and ATTACHMENTFILEPATH is null.
Since CF can read the envelope message, can identify that there is an attachment, can retrieve information on the attachment, how do we get it to save the attachment which is the original email within the exhange journal envelope?
Is this a bug that should be submitted to adobe?
Thanks.
Copy link to clipboard
Copied
Any solution? I am on CF9 with the same problem...
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more