Am having problems getting attachments from Exchange inbox emails. I can get
the list of items in teh inbox with no problems, but when I then loop over that
query to do an ACTION="GetAttachments" CF throws an error:
ERROR PERFORMING THE ACTION. EXCHANGE ERROR CODE : 501
I've googled the error code and cannot come up with anything other than
ActiveSync errors for that code.
Has anyone seen anything like this? Here is my code (pretty simple):
<cfexchangeconnection action = "open" connection = "exchangeConnection"
protocol = "https" server = "#msxserver#"
username = "#msxuser#" password = "#msxpassword#" />
<cfexchangemail action = "get" name = "google" connection =
"exchangeConnection" />
<cfdump var="#google#">
<cfloop query="google">
<HR>
HAS ATTACHMENT=#google.hasattachment# UID=#google.uid#
<cfif google.HasAttachment IS "yes">
<cfexchangemail action="getattachments"
connection="exchangeConnection"
uid="#google.UID#"
name="attachInfo"
attachmentPath="C:\temp\Googleattachments"
generateUniqueFilenames="true">
<BR>
<cfdump var="#attachinfo#">
</cfif>
</cfloop>
<cfexchangeconnection action = "close" connection = "exchangeConnection" />
I'm baffled!
Thanks,
Reed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286691
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4