From: stephenanderson on
We are attempting to use the cfexchangemail tag to inspect email attachments.
When the attachment is an email though, we are unable to retrieve the
attachment. The cfexcahngemail tag knows the attachment is there and knows the
size of the attachment, but the CID is blank as is some other info.

ATTACHMENTFILENAME: [empty string]
ATTACHMENTFILEPATH: [empty string]
CID: [empty string]
ISMESSAGE: YES
MIMETYPE: [empty string]
SIZE: 7805

I would have expected to be able to do something with the ismessage flag, but
I don't see any options anywhere. Anybody ever experienced the same thing?

Thanks.

Steve

<cfoutput query="spamlistMail">
<cfif hasattachment EQ true>
<cfexchangemail action="getattachments" attachmentpath="d:\temp\spamlist"
connection="spamlistconn" folder="Inbox " generateuniquefilenames="true"
name="attachmentMail" uid="#uid#"></cfexchangemail>

<cfdump var="#attachmentMail#">
<cfelse>
<br><strong>No attachments</strong> - #subject#
</cfif>
</cfoutput>