Debug the following code. It is not copying the email attachments to my server. Basically I am looking to email log files to this email address and upload them to a cold fusion server for later parsing. The cold fusion server is version 10.
[login to view URL]
********cfimap
server = "[login to view URL]"
username = "[login to view URL]"
action="open"
secure="yes"
password = "xxxxxxx"
connection = "[login to view URL]"
maxrows="10" timeout="120" attachmentpath="e:\Domains\[login to view URL]\wwwroot\" generateUniqueFilenames="no">
********cfimap action="getall" connection="[login to view URL]" name="query1">
*******cfimap action="close" connection = "[login to view URL]">
******cfquery dbtype="query" name="query2">
select * from query1 where attachements is not null
*****/cfquery>
******cfoutput query="query2">
*******#uid# #ATTACHMENTS#
******/cfoutput> ---->
******cfdump var="#query1#">
******cfoutput query="query1">
*******cffile action="copy"
destination="e:\Domains\[login to view URL]\wwwroot\"
nameconflict="MakeUnique"
source="#query1.ATTACHMENTS#">
*******/cfoutput>
*******/body>
*******/html>